2020-05-22 11:13:09 +02:00
|
|
|
version: "3.8"
|
|
|
|
|
2020-06-02 12:32:06 +02:00
|
|
|
volumes:
|
2021-04-27 11:10:34 +02:00
|
|
|
ltdv-log:
|
|
|
|
name: ltdv-log
|
|
|
|
ltdv-stats:
|
|
|
|
name: ltdv-stats
|
2020-05-22 11:13:09 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
ltdv-prod:
|
2021-04-27 11:10:34 +02:00
|
|
|
container_name: ltdv-prod
|
2020-05-22 11:13:09 +02:00
|
|
|
build: .
|
2022-02-01 15:40:51 +01:00
|
|
|
image: registry.weko.io/lestoitsduval:latest
|
2020-05-22 11:13:09 +02:00
|
|
|
restart: always
|
|
|
|
labels:
|
2021-11-17 22:45:32 +01:00
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.ltdv-prod.rule=Host(`${URL}`)"
|
|
|
|
- "traefik.http.routers.ltdv-prod.entrypoints=web"
|
|
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
2020-05-22 11:13:09 +02:00
|
|
|
volumes:
|
2021-04-27 11:10:34 +02:00
|
|
|
- ltdv-log:/var/log/nginx
|
|
|
|
- ltdv-stats:/usr/share/nginx/html/stats
|
2020-05-22 11:13:09 +02:00
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2020-06-02 12:32:06 +02:00
|
|
|
|
2021-04-27 11:10:34 +02:00
|
|
|
ltdv-stats:
|
|
|
|
container_name: ltdv-stats
|
2021-11-17 22:39:11 +01:00
|
|
|
image: registry.weko.io/goaccess:1.5.1
|
2020-06-02 12:32:06 +02:00
|
|
|
restart: always
|
|
|
|
depends_on:
|
|
|
|
- ltdv-prod
|
|
|
|
volumes:
|
2021-04-27 11:10:34 +02:00
|
|
|
- ltdv-log:/var/log/nginx
|
|
|
|
- ltdv-stats:/usr/share/nginx/html/stats
|
2020-06-02 12:32:06 +02:00
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2021-04-27 11:10:34 +02:00
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
2021-11-17 22:45:32 +01:00
|
|
|
name: traefik
|