Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
- 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>
32 lines
798 B
Plaintext
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
|