|
| 1 | +# ───────────────────────────────────────────────────────────────────────────── |
| 2 | +# urBackend — Environment Variables |
| 3 | +# Copy this file to .env and fill in your values before running docker-compose. |
| 4 | +# ───────────────────────────────────────────────────────────────────────────── |
| 5 | + |
| 6 | +# Server |
| 7 | +PORT=1234 |
| 8 | +NODE_ENV=production |
| 9 | + |
| 10 | +# ── Database & Cache ────────────────────────────────────────────────────────── |
| 11 | +# When using docker-compose, these are automatically overridden to point to |
| 12 | +# internal service names (mongo, redis). You do NOT need to change these. |
| 13 | +MONGO_URL=mongodb://mongo:27017/urbackend |
| 14 | +REDIS_URL=redis://redis:6379 |
| 15 | + |
| 16 | +# ── Authentication ──────────────────────────────────────────────────────────── |
| 17 | +JWT_SECRET=your_super_secret_jwt_key_min_32_chars |
| 18 | +ENCRYPTION_KEY=32_character_long_string_for_byod_creds |
| 19 | +API_KEY_SALT=your_random_api_key_salt |
| 20 | + |
| 21 | +# ── External Storage (Supabase) ─────────────────────────────────────────────── |
| 22 | +# Required for file upload/storage features. |
| 23 | +SUPABASE_URL=https://your-project.supabase.co |
| 24 | +SUPABASE_KEY=your-supabase-anon-key |
| 25 | + |
| 26 | +# ── Email (Resend) ──────────────────────────────────────────────────────────── |
| 27 | +# Required for OTP / email verification flow. |
| 28 | +RESEND_API_KEY=re_your_resend_api_key |
| 29 | +EMAIL_FROM=onboarding@resend.dev |
| 30 | + |
| 31 | +# ── Frontend ────────────────────────────────────────────────────────────────── |
| 32 | +FRONTEND_URL=http://localhost:5173 |
0 commit comments