1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/owntracks/ot-recorder/docker-compose.yml
2021-10-28 18:31:36 +08:00

31 lines
625 B
YAML

version: "3.8"
services:
recorder:
image: vimagick/ot-recorder
ports:
- "8083:8083"
- "8085:8085"
volumes:
- ./data:/var/spool/owntracks/recorder/store
environment:
- OTR_HOST=mqtt.eclipse.org
- OTR_PORT=8883
- OTR_USER=username
- OTR_PASS=password
- OTR_TOPICS=owntracks/#
- OTR_CAPATH=/etc/ssl/certs/
# OTR_OPTIONS=--debug
restart: unless-stopped
frontend:
image: owntracks/frontend
ports:
- 8080:80
environment:
- LISTEN_PORT=80
- SERVER_HOST=recorder
- SERVER_PORT=8083
restart: unless-stopped