From c5d4bada21a7239e3ee224207de5e3d1ea428237 Mon Sep 17 00:00:00 2001 From: lklynet Date: Tue, 6 Jan 2026 19:02:41 -0500 Subject: [PATCH] docs(docker-compose): update environment variables with comments Add commented-out configuration options to document available settings --- docker-compose.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index fbf9053..4037c84 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,4 +6,18 @@ services: restart: unless-stopped environment: - PORT=3000 - - MAX_PEERS=10000 + + # --- Add-ons --- + # - ENABLE_CHAT=false # Enable decentralized chat + # - ENABLE_MAP=false # Enable peer map visualization + + # --- Refinements --- + # - MAX_PEERS=50000 # Max peers to track in memory + # - MAX_CONNECTIONS=15 # Max active P2P connections + # - HEARTBEAT_INTERVAL=30000 # Heartbeat frequency (ms) + # - CONNECTION_ROTATION_INTERVAL=300000 # Connection rotation frequency (ms) + # - PEER_TIMEOUT=45000 # Time before peer is considered offline (ms) + # - MAX_MESSAGE_SIZE=2048 # Max message size (bytes) + # - MAX_RELAY_HOPS=2 # Max message relay hops + # - CHAT_RATE_LIMIT=5000 # Chat rate limit window (ms) + # - VISUAL_LIMIT=500 # Max particles on dashboard