Auto-detect public IP for ElectrumX peer announcement

This commit is contained in:
2026-02-13 09:33:58 +01:00
parent f631edfc4d
commit 4f528f8a1e
3 changed files with 22 additions and 2 deletions

View File

@@ -59,8 +59,8 @@ services:
DB_DIRECTORY: "/data"
PEER_DISCOVERY: "on"
PEER_ANNOUNCE: "true"
# Set this to the server's public IP or hostname (required for peer discovery)
# REPORT_HOST: "your.public.ip.or.hostname"
# REPORT_SERVICES is auto-detected at startup. Set manually only to override.
# REPORT_SERVICES: "tcp://your.public.ip:50001,ssl://your.public.ip:50002"
INITIAL_CONCURRENT: "2"
COST_SOFT_LIMIT: "0"
COST_HARD_LIMIT: "0"