forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 2
/
el-traefik.yml
23 lines (23 loc) · 1.53 KB
/
el-traefik.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# To be used in conjunction with erigon.yml, nethermind.yml, besu.yml, reth.yml or geth.yml
services:
execution:
labels:
- traefik.enable=true
- traefik.http.routers.${EL_HOST:-el}.service=${EL_HOST:-el}
- traefik.http.routers.${EL_HOST:-el}.entrypoints=websecure
- traefik.http.routers.${EL_HOST:-el}.rule=Host(`${EL_HOST:-el}.${DOMAIN}`)
- traefik.http.routers.${EL_HOST:-el}.tls.certresolver=letsencrypt
- traefik.http.routers.${EL_HOST:-el}lb.service=${EL_HOST:-el}
- traefik.http.routers.${EL_HOST:-el}lb.entrypoints=websecure
- traefik.http.routers.${EL_HOST:-el}lb.rule=Host(`${EL_LB:-el-lb}.${DOMAIN}`)
- traefik.http.routers.${EL_HOST:-el}lb.tls.certresolver=letsencrypt
- traefik.http.services.${EL_HOST:-el}.loadbalancer.server.port=${EL_RPC_PORT:-8545}
- traefik.http.routers.${EL_WS_HOST:-elws}.service=${EL_WS_HOST:-elws}
- traefik.http.routers.${EL_WS_HOST:-elws}.entrypoints=websecure
- traefik.http.routers.${EL_WS_HOST:-elws}.rule=Host(`${EL_WS_HOST:-elws}.${DOMAIN}`)
- traefik.http.routers.${EL_WS_HOST:-elws}.tls.certresolver=letsencrypt
- traefik.http.routers.${EL_WS_HOST:-elws}lb.service=${EL_WS_HOST:-elws}
- traefik.http.routers.${EL_WS_HOST:-elws}lb.entrypoints=websecure
- traefik.http.routers.${EL_WS_HOST:-elws}lb.rule=Host(`${EL_WS_LB:-elws-lb}.${DOMAIN}`)
- traefik.http.routers.${EL_WS_HOST:-elws}lb.tls.certresolver=letsencrypt
- traefik.http.services.${EL_WS_HOST:-elws}.loadbalancer.server.port=${EL_WS_PORT:-8546}