-
Notifications
You must be signed in to change notification settings - Fork 237
/
siren.yml
35 lines (34 loc) · 1.23 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
# Sigma Prime Siren, for use with Lighthouse
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:
- lhvalidator-data:/var/lib/lighthouse
- ./siren/docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
- /etc/localtime:/etc/localtime:ro
environment:
- BEACON_URL=${CL_NODE}
- VALIDATOR_URL=http://vc:7500
- SESSION_PASSWORD=${SIREN_PASSWORD}
- SSL_ENABLED=true
- DEBUG=false
- SIREN_PORT=${SIREN_PORT}
- NODE_OPTIONS="--dns-result-order=ipv4first"
<<: *logging
entrypoint:
- docker-entrypoint.sh
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