2021-10-18 16:58:59 +02:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
resilien-log:
|
|
|
|
name: resilien-log
|
|
|
|
resilien-stats:
|
|
|
|
name: resilien-stats
|
|
|
|
|
|
|
|
services:
|
|
|
|
resilien-prod:
|
|
|
|
container_name: resilien-prod
|
|
|
|
build: .
|
2022-02-01 11:10:24 +01:00
|
|
|
image: registry.weko.io/resilien_fr:prod
|
2021-10-18 16:58:59 +02:00
|
|
|
restart: always
|
|
|
|
labels:
|
|
|
|
traefik.enable: "true"
|
|
|
|
traefik.http.routers.resilien.rule: "Host(`${URL}`)"
|
|
|
|
traefik.http.routers.resilien.entrypoints: "web"
|
2022-02-01 11:10:24 +01:00
|
|
|
com.centurylinklabs.watchtower.enable: true
|
2021-10-18 16:58:59 +02:00
|
|
|
volumes:
|
|
|
|
- resilien-log:/var/log/nginx
|
|
|
|
- resilien-stats:/usr/share/nginx/html/stats
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
|
|
|
|
resilien-stats:
|
|
|
|
container_name: resilien-stats
|
|
|
|
image: registry.weko.io/goaccess:1.5.1
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- resilien-log:/var/log/nginx
|
|
|
|
- resilien-stats:/usr/share/nginx/html/stats
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
2021-11-18 18:39:00 +01:00
|
|
|
name: traefik
|