27 lines
1.2 KiB
Bash
27 lines
1.2 KiB
Bash
# ─── Application ────────────────────────────────────────────
|
|
PORT=3001
|
|
NODE_ENV=production
|
|
FRONTEND_URL=https://frais.domench.fr
|
|
|
|
# ─── Base de données PostgreSQL ─────────────────────────────
|
|
DATABASE_URL=postgresql://notesfrais:CHANGE_ME@postgres:5432/notesfrais
|
|
|
|
# ─── JWT ────────────────────────────────────────────────────
|
|
# Générer avec : openssl rand -hex 64
|
|
JWT_SECRET=CHANGE_ME_very_long_random_secret_here
|
|
JWT_EXPIRES_IN=15m
|
|
REFRESH_TOKEN_EXPIRES_DAYS=30
|
|
|
|
# ─── Chiffrement (mots de passe SMTP + secrets Graph en BDD) ─
|
|
# Générer avec : openssl rand -hex 32
|
|
APP_SECRET=CHANGE_ME_another_long_random_secret
|
|
|
|
# ─── Répertoire de stockage des fichiers ────────────────────
|
|
UPLOADS_DIR=/data/uploads
|
|
|
|
# ─── Création initiale des utilisateurs (init-users uniquement)
|
|
GREG_EMAIL=greg@example.com
|
|
GREG_PASSWORD=CHANGE_ME
|
|
GAEL_EMAIL=gael@example.com
|
|
GAEL_PASSWORD=CHANGE_ME
|