fix(besu): bind aio rpc endpoints to docker network
Summary
- Set the Besu all-in-one Docker image HTTP RPC host to
0.0.0.0. - Set the WebSocket RPC host to
0.0.0.0so other containers can reach Besu over Docker networks.
Root Cause
Besu enables HTTP and WebSocket RPC in the AIO image, but without explicit host overrides Besu binds those endpoints to loopback. That makes the endpoints unreachable from other containers in the same Docker network.
Impact
Plugins, connectors, and validators running in sibling containers can connect to the Besu AIO RPC and WebSocket endpoints via the compose service name.
Fixes #4065
Validation
git diff --check -- tools/docker/besu-all-in-one/Dockerfile- Verified the resulting Dockerfile contains
BESU_RPC_HTTP_HOST="0.0.0.0"andBESU_RPC_WS_HOST="0.0.0.0".
Removed the workflow-trigger change from this PR to keep the scope limited to the Besu AIO networking fix. I’ll handle any dependent-issues workflow changes separately if still needed.
The intent here is only to make Besu RPC reachable from other containers on the same Docker network, which is required for the AIO use case in #4065. This does not publish ports by itself, but I agree exposure becomes broader if users also publish those ports on the host, so I can add a short note clarifying that risk.