mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-05-28 18:11:31 +02:00
fix: add default relay peer so fresh installs can sync Infonet
On a fresh Docker (or local) install, MESH_RELAY_PEERS was empty and no bootstrap manifest existed, leaving the Infonet node with zero peers to sync from — causing perpetual "RETRYING" status. Set cipher0.shadowbroker.info:8000 as the default relay peer in both the config defaults and docker-compose.yml so new installations sync immediately after activating the wormhole.
This commit is contained in:
@@ -27,7 +27,7 @@ class Settings(BaseSettings):
|
||||
MESH_RNS_ENABLED: bool = False
|
||||
MESH_ARTI_ENABLED: bool = False
|
||||
MESH_ARTI_SOCKS_PORT: int = 9050
|
||||
MESH_RELAY_PEERS: str = ""
|
||||
MESH_RELAY_PEERS: str = "http://cipher0.shadowbroker.info:8000"
|
||||
MESH_BOOTSTRAP_DISABLED: bool = False
|
||||
MESH_BOOTSTRAP_MANIFEST_PATH: str = "data/bootstrap_peers.json"
|
||||
MESH_BOOTSTRAP_SIGNER_PUBLIC_KEY: str = ""
|
||||
|
||||
@@ -12,6 +12,8 @@ services:
|
||||
- ADMIN_KEY=${ADMIN_KEY:-}
|
||||
# Override allowed CORS origins (comma-separated). Auto-detects LAN IPs if empty.
|
||||
- CORS_ORIGINS=${CORS_ORIGINS:-}
|
||||
# Default Infonet relay peer so fresh installs can sync immediately.
|
||||
- MESH_RELAY_PEERS=${MESH_RELAY_PEERS:-http://cipher0.shadowbroker.info:8000}
|
||||
volumes:
|
||||
- backend_data:/app/data
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user