Clarify database connection settings and access instructions for Docker

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
This commit is contained in:
michaelschal committed 2025-07-09 20:52:33 +00:00
1 parent 28fa5a0e49
commit dccf01e9c8
3 files changed
+14 -4

No files matched your search

+7 -2
View File
@@ -2,11 +2,16 @@
# 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
# Note: En cas de conflit de port, PostgreSQL sera accessible sur le port 5433 depuis l'hôte
# mais l'application utilise le port 5432 interne au réseau Docker
# 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