This commit is contained in:
Sebastian
2025-03-14 11:53:09 +01:00
parent 0f08614981
commit 297eaf6860

View File

@@ -0,0 +1,18 @@
services:
drpc-beacon-proxy-sepolia:
build: ./drpc-beacon-proxy/
expose:
- "80:80"
environment:
DKEY: "${DRPC_API_KEY}"
NETWORK: "sepolia"
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.drpc-beacon-proxy-sepolia-stripprefix.stripprefix.prefixes=/drpc-beacon-proxy-sepolia"
- "traefik.http.services.drpc-beacon-proxy-sepolia.loadbalancer.server.port=80"
- "traefik.http.routers.drpc-beacon-proxy-sepolia.entrypoints=websecure"
- "traefik.http.routers.drpc-beacon-proxy-sepolia.tls.certresolver=myresolver"
- "traefik.http.routers.drpc-beacon-proxy-sepolia.rule=Host(`$DOMAIN`) && PathPrefix(`/drpc-beacon-proxy-sepolia`)"
- "traefik.http.routers.drpc-beacon-proxy-sepolia.middlewares=drpc-beacon-proxy-sepolia-stripprefix, ipwhitelist"
networks:
- chains