forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
siren.yml
24 lines (23 loc) · 850 Bytes
/
siren.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Sigma Prime Siren, for use with Lighthouse
version: "3.9"
x-logging: &logging
logging:
driver: json-file
options:
max-size: 100m
max-file: "3"
tag: '{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}'
services:
siren:
restart: "unless-stopped"
image: ${SIREN_DOCKER_REPO}:${SIREN_DOCKER_TAG}
volumes:
- /etc/localtime:/etc/localtime:ro
<<: *logging
labels:
- traefik.enable=true
- traefik.http.routers.$(SIREN_HOST:-siren}.service=${SIREN_HOST:-siren}
- traefik.http.routers.${SIREN_HOST:-siren}.entrypoints=websecure
- traefik.http.routers.${SIREN_HOST:-siren}.rule=Host(`${SIREN_HOST:-siren}.${DOMAIN}`)
- traefik.http.routers.${SIREN_HOST:-siren}.tls.certresolver=letsencrypt
- traefik.http.services.${SIREN_HOST:-siren}.loadbalancer.server.port=80