forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcaplin-traefik.yml
15 lines (15 loc) · 882 Bytes
/
caplin-traefik.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# To be used in conjunction with erigon.yml
# For remote validator setups only. Please be very cautious when exposing your consensus API port
services:
execution:
labels:
- traefik.enable=true
- traefik.http.routers.${CL_HOST:-cl}.service=${CL_HOST:-cl}
- traefik.http.routers.${CL_HOST:-cl}.entrypoints=websecure
- traefik.http.routers.${CL_HOST:-cl}.rule=Host(`${CL_HOST:-cl}.${DOMAIN}`)
- traefik.http.routers.${CL_HOST:-cl}.tls.certresolver=letsencrypt
- traefik.http.routers.${CL_HOST:-cl}lb.service=${CL_HOST:-cl}
- traefik.http.routers.${CL_HOST:-cl}lb.entrypoints=websecure
- traefik.http.routers.${CL_HOST:-cl}lb.rule=Host(`${CL_LB:-cl-lb}.${DOMAIN}`)
- traefik.http.routers.${CL_HOST:-cl}lb.tls.certresolver=letsencrypt
- traefik.http.services.${CL_HOST:-cl}.loadbalancer.server.port=${CL_REST_PORT:-5052}