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

Executable → Regular
+4 -2
View File
@@ -28,8 +28,10 @@ docker system prune -f
if [ ! -f .env ]; then
echo "📝 Création du fichier .env..."
cp .env.example .env
echo "⚠️ IMPORTANT: Éditez le fichier .env avec vos paramètres avant de continuer"
echo " Notamment: POSTGRES_PASSWORD et SESSION_SECRET"
echo "⚠️ IMPORTANT: Vérifiez le fichier .env :"
echo " - DATABASE_URL doit utiliser 'postgres:5432' (réseau Docker interne)"
echo " - Changez POSTGRES_PASSWORD et SESSION_SECRET pour la sécurité"
echo " - L'accès externe à PostgreSQL se fait via localhost:5433"
read -p "Appuyez sur Entrée pour continuer..."
fi