Environment Variables
Environment Variables
Section titled “Environment Variables”Core Server
Section titled “Core Server”NODE_ENV=productionPORT=3000HOST=0.0.0.0LOG_LEVEL=info
Security
Section titled “Security”JWT_SECRET=your-secret-key-hereJWT_EXPIRES_IN=24hAPI_KEY=your-api-key-hereSESSION_SECRET=your-session-secretCORS_ORIGIN=http://localhost:8443
Browser Config
Section titled “Browser Config”PUPPETEER_HEADLESS=truePUPPETEER_EXECUTABLE_PATH=/usr/bin/chromiumBROWSER_TIMEOUT=30000MAX_BROWSER_INSTANCES=10DEFAULT_VIEWPORT_WIDTH=1280DEFAULT_VIEWPORT_HEIGHT=720
Session Management
Section titled “Session Management”SESSION_TIMEOUT=1800000 # 30 minutesSESSION_CLEANUP_INTERVAL=300000 # 5 minutesMAX_SESSIONS_PER_USER=5
GRPC_PORT=50051GRPC_MAX_MESSAGE_SIZE=4194304 # 4MB
WebSocket
Section titled “WebSocket”WS_PORT=3001WS_PING_INTERVAL=30000WS_MAX_PAYLOAD=1048576 # 1MB
MCP Server
Section titled “MCP Server”MCP_TRANSPORT=stdioMCP_SERVER_NAME=puppeteer-mcpMCP_SERVER_VERSION=1.0.0
Database (if used)
Section titled “Database (if used)”DATABASE_URL=postgresql://user:pass@localhost:5432/dbREDIS_URL=redis://localhost:6379
Monitoring
Section titled “Monitoring”METRICS_ENABLED=trueMETRICS_PORT=9090SENTRY_DSN=https://xxx@sentry.io/xxx
Development
Section titled “Development”DEBUG=puppeteer:*FORCE_COLOR=1