mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-12 01:39:58 +02:00
Update .env instructions and debugging scripts to reflect the internal Docker network database port. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/6e755801-08e8-4492-805e-ac3610de5a2a.jpg
29 lines
1.1 KiB
Bash
29 lines
1.1 KiB
Bash
# Configuration de l'environnement pour RegisFlow
|
|
# Copiez ce fichier en .env et modifiez les valeurs selon vos besoins
|
|
|
|
# Configuration de la base de données
|
|
# IMPORTANT: Pour Docker, utilisez 'postgres:5432' (réseau interne Docker)
|
|
DATABASE_URL=postgresql://regisflow:regisflow2024@postgres:5432/regisflow
|
|
POSTGRES_PASSWORD=regisflow2024
|
|
|
|
# Explication des ports :
|
|
# - Port 5432 : Communication interne entre containers Docker (RegisFlow → PostgreSQL)
|
|
# - Port 5433 : Accès externe depuis votre machine (Machine hôte → PostgreSQL)
|
|
#
|
|
# L'application RegisFlow utilise TOUJOURS postgres:5432 en interne
|
|
# Vous accédez à PostgreSQL depuis votre machine via localhost:5433
|
|
|
|
# Configuration de l'application
|
|
NODE_ENV=production
|
|
PORT=5000
|
|
|
|
# Clé secrète pour les sessions (IMPORTANT: Changez cette valeur en production)
|
|
SESSION_SECRET=your-super-secret-session-key-change-in-production
|
|
|
|
# Configuration du timezone
|
|
TZ=Europe/Paris
|
|
|
|
# Note: L'application sera accessible sur http://localhost:5000 après le démarrage
|
|
# Configuration optionnelle pour les sauvegardes
|
|
BACKUP_RETENTION_DAYS=30
|
|
MAX_BACKUP_COUNT=10 |