st-marcel-d-urfe.fr/docker-compose.prod.yml

38 lines
876 B
YAML
Raw Normal View History

2020-09-02 16:54:03 +02:00
version: "3.8"
volumes:
cremeaux-log:
name: cremeaux-log
cremeaux-stats:
name: cremeaux-stats
2020-09-02 16:54:03 +02:00
services:
crmx-prod:
container_name: crmx-prod
build: .
restart: always
labels:
traefik.enable: "true"
traefik.http.routers.crmx-prod.rule: "Host(`${URL}`)"
2020-09-02 16:54:03 +02:00
traefik.http.routers.crmx-prod.entrypoints: "web"
volumes:
- cremeaux-log:/var/log/nginx
- cremeaux-stats:/usr/share/nginx/html/stats
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
crmx-stats:
container_name: crmx-stats
2021-04-12 16:43:08 +02:00
image: registry.weko.io/goaccess:1.4.6
restart: always
volumes:
- cremeaux-log:/var/log/nginx
- cremeaux-stats:/usr/share/nginx/html/stats
2020-09-02 16:54:03 +02:00
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
networks:
default:
external:
name: traefik