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