bee: revert static-nodes (broke discovery), seed peer via BEE_BOOTNODE

bootnode-mode is required by Bee 2.8 to honor --static-nodes, but
bootnode-mode collapses normal peer discovery (homelab dropped from
100+ peers to 2, depth jumped to 31). Use --bootnode to seed an
initial dial to the other gateway instead — that's just a hint, doesn't
change inbound behavior, and leaves hive discovery intact.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Felix FaerberandClaude Opus 4.7 committed 2026-05-28 15:58:34 +03:00
1 parent ac72941782
commit 9b58c2e76e
1 file changed
+5 -3
+5 -3
View File
@@ -233,9 +233,11 @@ services:
# toward us are landing at random ff-prefix peers (e.g. ff7adaed)
# instead of prod_bee at ff896a93, so the gateway never receives
# provider ack/deliver envelopes.
# Bee 2.8 requires bootnode-mode for --static-nodes to take effect.
BEE_BOOTNODE_MODE: "true"
BEE_STATIC_NODES: "bd85c9a7508a61d3fc128144da3ae36a1977bcb6ad93b8f4a07e7e644e14706e"
# Seed homelab_bee alongside the default mainnet bootnode so we
# always dial it on boot. (We can't use --static-nodes here: Bee 2.8
# only honors it in --bootnode-mode, and bootnode-mode wrecks normal
# peer discovery.)
BEE_BOOTNODE: "/dns4/bee.ffaerber.duckdns.org/tcp/1634/p2p/QmZTZyeQhFBMtta9XhtHUoLE3EtDKrzv76uoQX9h9SowQC,/dnsaddr/mainnet.ethswarm.org"
volumes:
- bee-data:/home/bee/.bee
ports: