| 123456789101112131415161718192021222324252627282930313233343536373839 |
- # Copy this file to .env and fill in the values.
- # NEVER commit .env to version control.
- # ── Database ──────────────────────────────────────────────────────────────────
- POSTGRES_USER=vidreview
- POSTGRES_PASSWORD=<change-me>
- POSTGRES_DB=vidreview
- DATABASE_URL=postgresql://vidreview:<change-me>@postgres:5432/vidreview
- # ── Auth ─────────────────────────────────────────────────────────────────────
- # Generate a strong secret: openssl rand -hex 64
- JWT_SECRET=<change-me>
- JWT_EXPIRES_IN=7d
- # ── Server ─────────────────────────────────────────────────────────────────────
- API_PORT=3001
- NODE_ENV=production
- UPLOAD_DIR=/app/uploads
- MAX_FILE_SIZE_MB=500
- # ── Caddy Ports ─────────────────────────────────────────────────────────────────
- CADDY_HTTP_PORT=80
- CADDY_HTTPS_PORT=443
- # ── CORS / Domain ──────────────────────────────────────────────────────────────
- # Comma-separated list of allowed origins (no spaces)
- ALLOWED_ORIGINS=https://your-domain.com,http://localhost
- FRONTEND_URL=https://your-domain.com
- # ── Email (Resend) ─────────────────────────────────────────────────────────────
- # Optional. Leave blank to disable invite emails.
- RESEND_API_KEY=
- # ── Admin (used by init container on fresh deploy only) ────────────────────────
- ADMIN_EMAIL=admin@vidreview.local
- ADMIN_NAME=Admin
- # ── Worker ─────────────────────────────────────────────────────────────────────
- POLL_INTERVAL_MS=2000
|