Spaces:
Runtime error
Runtime error
Download .env.example from dedalys-civ/dedalys-api: direct link, hf CLI and curl.
- Browser
- Download file 2.82 kB
-
https://huggingface.co/spaces/dedalys-civ/dedalys-api/resolve/main/.env.example
- Command line
-
hf download hf://spaces/dedalys-civ/dedalys-api/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/dedalys-civ/dedalys-api/resolve/main/.env.example
2.82 kB
| # ══════════════════════════════════════════════════════════════════════════════ | |
| # DEDALYS BACKEND — Variables d'environnement | |
| # Copier ce fichier vers .env et remplir les valeurs | |
| # ══════════════════════════════════════════════════════════════════════════════ | |
| # ── Supabase ───────────────────────────────────────────────────────────────── | |
| SUPABASE_URL=https://xxxxxxxxxxxx.supabase.co | |
| SUPABASE_ANON_KEY=eyJ... # Dashboard → Settings → API → anon public | |
| SUPABASE_SERVICE_KEY=eyJ... # Dashboard → Settings → API → service_role ⚠️ SECRET | |
| SUPABASE_JWT_SECRET=your-jwt-secret # Dashboard → Settings → API → JWT Secret | |
| # ── Storage ────────────────────────────────────────────────────────────────── | |
| STORAGE_BUCKET=dedalys-fichiers | |
| STORAGE_SIGNED_URL_EXPIRY=900 # Durée signed URLs en secondes (15 min) | |
| # ── Email (Resend) ─────────────────────────────────────────────────────────── | |
| RESEND_API_KEY=re_... # https://resend.com/api-keys | |
| EMAIL_FROM=noreply@dedalys.ci | |
| # ── Application ────────────────────────────────────────────────────────────── | |
| APP_ENV=development # development | staging | production | |
| FRONTEND_URL=http://localhost:3000 | |
| # ── CORS ───────────────────────────────────────────────────────────────────── | |
| # Liste des origines autorisées, séparées par des virgules | |
| # development : http://localhost:3000 | |
| # staging : https://staging.dedalys.ci | |
| # production : https://app.dedalys.ci | |
| ALLOWED_ORIGINS=http://localhost:3000 | |
| # ── Reset Password ─────────────────────────────────────────────────────────── | |
| SUPABASE_RESET_PASSWORD_REDIRECT_URL=http://localhost:3000/reset-password |