Restored to 'afb7a90e0a9fbf19dfd193a47ef6054a853fdd60'

Replit-Restored-To: afb7a90e0a
This commit is contained in:
michaelschal committed 2025-07-13 13:04:02 +00:00
1 parent 55fb5abd45
commit 04e8eea3bd
12 files changed
+126 -339

No files matched your search

+58 -11
View File
@@ -1,20 +1,67 @@
# Variables d'environnement pour RegisFlow
# Copiez ce fichier vers .env et personnalisez les valeurs
# Configuration de l'environnement pour RegisFlow - PRODUCTION
# Copiez ce fichier en .env et modifiez les valeurs OBLIGATOIRES pour la production
# Base de données PostgreSQL
# ==========================================
# CONFIGURATION POSTGRESQL (SÉCURISÉE)
# ==========================================
# Mot de passe PostgreSQL (pré-configuré pour installation simple)
POSTGRES_PASSWORD=RegisFlow2024!PostgreSQL
DATABASE_URL=postgresql://regisflow:RegisFlow2024!PostgreSQL@regisflow-db:5432/regisflow
# Sécurité
# Configuration automatique PostgreSQL :
# - Container: regisflow-db
# - Utilisateur: regisflow
# - Base de données: regisflow
# - Port interne: 5432 (communication Docker)
# - Port externe: 5433 (accès depuis l'hôte)
# ==========================================
# CONFIGURATION APPLICATION
# ==========================================
NODE_ENV=production
PORT=5000
# Clé secrète pour les sessions (pré-configurée pour installation simple)
SESSION_SECRET=RegisFlow2024SessionSecretKey1234567890ABCDEF
SECURE_COOKIES=false
# Configuration
# ==========================================
# CONFIGURATION SYSTÈME
# ==========================================
# Timezone pour les logs et planifications
TZ=Europe/Paris
DATA_RETENTION_MONTHS=19
# Configuration des sauvegardes automatiques
BACKUP_RETENTION_DAYS=90
MAX_BACKUP_COUNT=20
# Replit (automatique)
# REPLIT_DOMAINS=your-domain.replit.dev
# REPL_ID=your-repl-id
# Configuration de la purge automatique (19 mois réglementaire)
DATA_RETENTION_MONTHS=19
# ==========================================
# SÉCURITÉ PRODUCTION
# ==========================================
# Activer les cookies sécurisés (nécessite HTTPS)
SECURE_COOKIES=true
# Domaine autorisé pour l'application (optionnel)
# ALLOWED_DOMAIN=votre-domaine.com
# ==========================================
# INSTRUCTIONS IMPORTANTES
# ==========================================
# 1. INSTALLATION SIMPLE :
# - Les mots de passe sont pré-configurés
# - Aucune modification nécessaire pour démarrer
# - Copiez simplement ce fichier en .env
#
# 2. Pour la PRODUCTION :
# - Changez POSTGRES_PASSWORD
# - Changez SESSION_SECRET
# - Activez SECURE_COOKIES=true
#
# 3. Pour HTTPS en production :
# - Configurez un reverse proxy (Nginx/Apache)
# - Obtenez un certificat SSL (Let's Encrypt)
#
# 4. Application accessible sur :
# - RegisFlow: http://localhost:5000
# - PostgreSQL: localhost:5433