advertise public NAT addr so bee flips to reachability=Public

Bee dashboard reports reachability=Private and underlay only lists
172.x/127.0.0.1 — peers see our node as unreachable, PSS messages
won't route. Setting BEE_NAT_ADDR to the host's public IP+port lets
libp2p autonat confirm reachability.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Felix FaerberandClaude Opus 4.7 committed 2026-05-27 15:19:41 +03:00
1 parent 33e0b4a85b
commit bc3079b97a
1 file changed
+5
+5
View File
@@ -204,6 +204,11 @@ services:
environment: environment:
BEE_API_ADDR: ":1633" BEE_API_ADDR: ":1633"
BEE_P2P_ADDR: ":1634" BEE_P2P_ADDR: ":1634"
# Tell Bee its public-facing libp2p address so the autonat check
# passes and peers learn to dial our node back. Without this Bee
# advertises only docker-bridge IPs (172.x / 127.0.0.1) and stays
# marked "Private" — PSS forwarding gets blackholed.
BEE_NAT_ADDR: "195.35.25.26:1634"
BEE_VERBOSITY: "info" BEE_VERBOSITY: "info"
BEE_FULL_NODE: "true" BEE_FULL_NODE: "true"
BEE_SWAP_ENABLE: "true" BEE_SWAP_ENABLE: "true"