# Node environment NODE_ENV=development # Server configuration HOST=0.0.0.0 PORT=3000 LOG_LEVEL=info # Postgres configuration (for local dev with compose.dev.yml) POSTGRES_HOST=localhost POSTGRES_PORT=5432 POSTGRES_USER=agenthub POSTGRES_PASSWORD=agenthub POSTGRES_DB=agenthub # Redis configuration (optional, for Socket.IO scaling) REDIS_HOST=localhost REDIS_PORT=6379 # JWT configuration (32+ bytes base64) JWT_SECRET=changeme_generate_32_bytes_base64_secret # Security configuration # CORS whitelist (comma-separated origins) ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173,http://192.168.1.0/24 # HSTS (strict-transport-security) - disable in Phase 1 (HTTP LAN), enable in Phase 2 (HTTPS) ENABLE_HSTS=false # Feature flags # Messaging (socket.io) - enable for normal operation, disable for quick rollback FEATURE_MESSAGING_ENABLED=true # Backup configuration (optional, for production) BACKUP_RETENTION_DAYS=14 S3_ENDPOINT= S3_BUCKET= AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= GPG_RECIPIENT_KEY=