ceiba-scores/docker-compose.prod.yml

29 lines
652 B
YAML
Raw Normal View History

2022-03-30 00:07:29 +02:00
version: "3.8"
volumes:
ceiba-log:
name: ceiba-log
ceiba-stats:
name: ceiba-stats
services:
scores_ceiba-prod:
container_name: ceiba-prod
build: .
image: registry.weko.io/scores_ceiba:latest
restart: always
labels:
traefik.enable: "true"
traefik.http.routers.ceiba.rule: "Host(`${URL}`)"
traefik.http.routers.ceiba.entrypoints: "web"
com.centurylinklabs.watchtower.enable: true
volumes:
- ceiba-log:/var/log/nginx
- ceiba-stats:/usr/share/nginx/html/stats
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
networks:
default:
name: traefik