version: '3.1' services: traccar: image: traccar/traccar container_name: traccar_traccar restart: "no" ports: - 5000-5150:5000:5150/tcp - 5000-5150:5000:5150/udp volumes: - ${DOCKER_DATA}/logs:/opt/traccar/logs:rw - ./traccar.xml:/opt/traccar/conf/traccar.xml:ro labels: - traefik.http.routers.traccar.rule=Host(`traccar.jafner.net`) - traefik.http.routers.traccar.tls.certresolver=lets-encrypt - traefik.port=8082 networks: - web networks: web: external: true