2021-05-14 21:42:15 +02:00
|
|
|
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
|
2021-10-12 09:23:23 +02:00
|
|
|
image: registry.weko.io/goaccess:1.5.1
|
2021-05-14 21:42:15 +02:00
|
|
|
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
|