Skip to content

Commit a1f0d1e

Browse files
committed
docs: add HTTP server environment variables
1 parent 3d24f00 commit a1f0d1e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.env.example

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,3 +309,18 @@ PROMETHEUS_PORT=9090
309309
DEV_MODE=true
310310
DISABLE_AUTH=false # Never set to true in production!
311311
ENABLE_DEBUG_ENDPOINTS=false
312+
313+
# ============================================================================
314+
# HTTP Server Configuration (when using --transport http)
315+
# ============================================================================
316+
317+
# Host address to bind HTTP server (default: 127.0.0.1)
318+
# Use 0.0.0.0 to allow external connections
319+
CODEGRAPH_HTTP_HOST=127.0.0.1
320+
321+
# Port for HTTP server (default: 3000)
322+
CODEGRAPH_HTTP_PORT=3000
323+
324+
# SSE keep-alive interval in seconds (default: 15)
325+
# Prevents proxy timeouts for long-running agentic operations
326+
CODEGRAPH_HTTP_KEEP_ALIVE=15

0 commit comments

Comments
 (0)