29 lines
652 B
YAML
29 lines
652 B
YAML
|
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
|