Files
Regisflow/.env.production
michaelschal 9cc28ddc93 Prepare the application for deployment to a production environment
Adds Docker Compose configuration, Nginx setup, and deployment scripts.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/1668b635-4205-40d7-8634-6b7174d94d7b.jpg
2025-07-11 15:59:15 +00:00

29 lines
733 B
Bash

# Configuration de production pour RegisFlow
# IMPORTANT : Renommez ce fichier en .env et modifiez les valeurs
# === SÉCURITÉ - OBLIGATOIRE À MODIFIER ===
POSTGRES_PASSWORD=VotreMotDePasseSuperSecurise123!
SESSION_SECRET=VotreCleSessionTresLongueEtSecurisee456789ABCDEF
# === APPLICATION ===
NODE_ENV=production
PORT=5000
TZ=Europe/Paris
# === BASE DE DONNÉES ===
DATABASE_URL=postgresql://regisflow:${POSTGRES_PASSWORD}@regisflow-db:5432/regisflow
# === SÉCURITÉ AVANCÉE ===
SECURE_COOKIES=true
DATA_RETENTION_MONTHS=19
# === SAUVEGARDES ===
BACKUP_RETENTION_DAYS=90
MAX_BACKUP_COUNT=20
# === PERFORMANCE ===
NODE_OPTIONS=--max-old-space-size=512
# === OPTIONNEL ===
# ALLOWED_DOMAIN=votre-domaine.com
# LOG_LEVEL=info