deploy: notesfrais — 2026-04-29 09:57:19

This commit is contained in:
deploy
2026-04-29 09:57:19 +02:00
commit abbc9b16e1
56 changed files with 6872 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
# ─── 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