version: "3.8" volumes: slides-log: name: slides-log slides-stats: name: slides-stats services: slides-logs: container_name: slides-logs image: registry.weko.io/goaccess restart: always volumes: - slides-log:/var/log/nginx - slides-stats:/usr/share/nginx/html/stats - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro labels: com.centurylinklabs.watchtower.enable: true slides: container_name: ${NAME} image: registry.weko.io/slides restart: always volumes: - slides-log:/var/log/nginx - slides-stats:/usr/share/nginx/html/stats - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro labels: traefik.enable: "true" traefik.http.routers.slides.rule: "Host(`${URL}`)" traefik.http.routers.slides.entrypoints: "web" com.centurylinklabs.watchtower.enable: true networks: default: external: name: traefik