# Copy this file to .env and fill in the values. # NEVER commit .env to version control. # ── Database ────────────────────────────────────────────────────────────────── POSTGRES_USER=vidreview POSTGRES_PASSWORD= POSTGRES_DB=vidreview DATABASE_URL=postgresql://vidreview:@postgres:5432/vidreview # ── Auth ───────────────────────────────────────────────────────────────────── # Generate a strong secret: openssl rand -hex 64 JWT_SECRET= JWT_EXPIRES_IN=7d # ── Server ───────────────────────────────────────────────────────────────────── API_PORT=3001 NODE_ENV=production UPLOAD_DIR=/app/uploads MAX_FILE_SIZE_MB=500 # ── 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