Skip to content

Commit c5d4bad

Browse files
committed
docs(docker-compose): update environment variables with comments
Add commented-out configuration options to document available settings
1 parent 8b2c4e0 commit c5d4bad

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

docker-compose.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,18 @@ services:
66
restart: unless-stopped
77
environment:
88
- PORT=3000
9-
- MAX_PEERS=10000
9+
10+
# --- Add-ons ---
11+
# - ENABLE_CHAT=false # Enable decentralized chat
12+
# - ENABLE_MAP=false # Enable peer map visualization
13+
14+
# --- Refinements ---
15+
# - MAX_PEERS=50000 # Max peers to track in memory
16+
# - MAX_CONNECTIONS=15 # Max active P2P connections
17+
# - HEARTBEAT_INTERVAL=30000 # Heartbeat frequency (ms)
18+
# - CONNECTION_ROTATION_INTERVAL=300000 # Connection rotation frequency (ms)
19+
# - PEER_TIMEOUT=45000 # Time before peer is considered offline (ms)
20+
# - MAX_MESSAGE_SIZE=2048 # Max message size (bytes)
21+
# - MAX_RELAY_HOPS=2 # Max message relay hops
22+
# - CHAT_RATE_LIMIT=5000 # Chat rate limit window (ms)
23+
# - VISUAL_LIMIT=500 # Max particles on dashboard

0 commit comments

Comments
 (0)