Add data persistence

This commit is contained in:
Joey Hafner 2022-07-22 18:24:27 -07:00
parent c6babc455b
commit d8dd8367c2

View File

@ -9,6 +9,7 @@ services:
- 5000-5150:5000-5150/udp
volumes:
- ${DOCKER_DATA}/logs:/opt/traccar/logs:rw
- ${DOCKER_DATA}/data:/opt/traccar/data:rw
- ./traccar.xml:/opt/traccar/conf/traccar.xml:ro
labels:
- traefik.http.routers.traccar.rule=Host(`traccar.jafner.tools`)