traefik: second, env-named network so non-RPC services can be routed off chains
#80
Reference in New Issue
Block a user
Delete Branch "traefik-extra-network"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds an
extranetwork tobase.ymland puts traefik on it inrpc.yml. Name comes fromTRAEFIK_EXTRA_NETWORK, defaulting torpc_extra(same convention asrpc_chains). Notexternal: true, so compose creates it; hosts that do not use it get an empty bridge.Why. Today anything that wants a traefik route must sit on
chains. On a typical host that is 26 containers including unauthenticatedredis:6379,traefik:8080(--api.insecure=true) and several unauthenticated:8545endpoints. A public site that accepts anonymous uploads should not have that as its blast radius.Validated with
docker compose configagainst a real host.env: unset rendersrpc_extra,TRAEFIK_EXTRA_NETWORK=vientiane_netrendersvientiane_net, traefik on[chains, extra]in both.Operational note. Changing traefik network membership means the next
rpc-updateon a host recreates the traefik container, briefly interrupting all HTTP/HTTPS routing there, RPC endpoints included. Nothing pulls/root/rpcon its own, so this lands host by host and should ride the serving gate.🤖 Generated with Claude Code
https://claude.ai/code/session_01KjqejYycVyVvrxV9aTDhgX
chainsb6bbe77dff