Skip to content

Commit

Permalink
Traefik labels for CL files
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Nov 2, 2023
1 parent 42e5695 commit 011ee87
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lodestar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,16 @@ services:
- --suggestedFeeRecipient
- ${FEE_RECIPIENT}
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}
- metrics.scrape=true
- metrics.path=/metrics
- metrics.port=8008
Expand Down
10 changes: 10 additions & 0 deletions nimbus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ services:
- --keymanager-token-file=/var/lib/nimbus/api-token.txt
- --suggested-fee-recipient=${FEE_RECIPIENT}
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}
- metrics.scrape=true
- metrics.path=/metrics
- metrics.port=8008
Expand Down
10 changes: 10 additions & 0 deletions prysm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,16 @@ services:
- --suggested-fee-recipient
- ${FEE_RECIPIENT}
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}
- metrics.scrape=true
- metrics.path=/metrics
- metrics.port=8008
Expand Down

0 comments on commit 011ee87

Please sign in to comment.