Self-hosting
Sésame Éclair is a Next.js application that needs Postgres and, for files, S3-compatible storage. An official Docker image and Helm chart are provided to enterprise customers.
Environment variables
DATABASE_URL=postgres://… # vide = base embarquée (développement uniquement)
PUBLIC_BASE_URL=https://secrets.example.fr
CRON_SECRET=… # appelle GET /api/v1/cron/purge
RATE_LIMIT_SECRET=… # dérive les clés quotidiennes de limitation
S3_ENDPOINT=https://… S3_REGION=… S3_BUCKET=…
S3_ACCESS_KEY_ID=… S3_SECRET_ACCESS_KEY=…
ADMIN_TOKEN=… # traitement des signalements (32 caractères minimum)
WEBHOOK_SIGNING_SECRET=… # dérive la clé de signature de chaque webhook
VERCEL_TOKEN=… VERCEL_PROJECT_ID=… # rattachement automatique des domaines (facultatif)
MAX_FILE_BYTES=104857600 FILE_MAX_TTL_SECONDS=604800 PIN_MAX_ATTEMPTS=5Key points
- Migrations are applied automatically on start.
- Schedule the purge: GET /api/v1/cron/purge with Authorization: Bearer $CRON_SECRET (hourly recommended).
- The bucket must allow PUT and GET from your domain (CORS).
- Always serve the app over HTTPS: browser-side encryption depends on it.