2019-10-02 02:12:13 +02:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
recorder:
|
|
|
|
image: vimagick/ot-recorder
|
|
|
|
ports:
|
|
|
|
- "8083:8083"
|
|
|
|
volumes:
|
|
|
|
- ./data:/var/spool/owntracks/recorder/store
|
|
|
|
environment:
|
|
|
|
- OTR_HOST=iot.eclipse.org
|
2019-10-02 03:06:24 +02:00
|
|
|
- OTR_PORT=1883
|
2019-10-02 02:12:13 +02:00
|
|
|
- OTR_USER=username
|
|
|
|
- OTR_PASS=password
|
|
|
|
- OTR_TOPICS=owntracks/#
|
2019-10-02 03:06:24 +02:00
|
|
|
# OTR_CAFILE=/etc/ssl/certs/DST_Root_CA_X3.pem
|
2019-10-02 02:12:13 +02:00
|
|
|
# OTR_BROWSERAPIKEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
|
|
# OTR_OPTIONS=--debug
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
frontend:
|
|
|
|
image: owntracks/frontend
|
|
|
|
ports:
|
|
|
|
- 8080:80
|
|
|
|
environment:
|
|
|
|
- SERVER_HOST=recorder
|
|
|
|
- SERVER_PORT=8083
|
|
|
|
restart: unless-stopped
|