Files
comfyui-serverless/frontend/.env.example
Debian 890543fb77
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
Add frontend service with auth, MFA, and content management
- Node.js/Express backend with TypeScript
- SQLite database for users, sessions, and content metadata
- Authentication with TOTP and WebAuthn MFA support
- Admin user auto-created on first startup
- User content gallery with view/delete functionality
- RunPod API proxy (keeps API keys server-side)
- Docker setup with CI/CD for Gitea registry

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:57:08 +00:00

32 lines
798 B
Plaintext

# Server Configuration
NODE_ENV=production
PORT=3000
DATA_DIR=/app/data
# Session Configuration
SESSION_SECRET=change-this-to-a-secure-random-string-at-least-32-chars
# Initial Admin User (only used on first startup if no users exist)
ADMIN_USERNAME=admin
ADMIN_PASSWORD=change-this-secure-password
ADMIN_EMAIL=admin@example.com
# RunPod API Configuration
RUNPOD_API_KEY=your-runpod-api-key
RUNPOD_ENDPOINT_ID=your-endpoint-id
# WebAuthn Configuration
WEBAUTHN_RP_ID=localhost
WEBAUTHN_RP_NAME=ComfyUI Video Generator
WEBAUTHN_ORIGIN=http://localhost:3000
# Security
ENCRYPTION_KEY=0000000000000000000000000000000000000000000000000000000000000000
TRUST_PROXY=true
# Rate Limiting
RATE_LIMIT_WINDOW_MS=60000
RATE_LIMIT_MAX_REQUESTS=100
LOGIN_RATE_LIMIT_MAX=5
LOGIN_RATE_LIMIT_WINDOW_MS=900000