Configure application to use a specific port and internal network

Updates Dockerfile and docker-compose.yml to expose port 4523 for the application and ensures it communicates with PostgreSQL over an internal Docker network.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/MNNRXY7
This commit is contained in:
michaelschal committed 2025-10-17 11:10:50 +00:00
1 parent 1c0e24ece7
commit 9ae2f6b3f2
4 files changed
+223 -15

No files matched your search

+2 -2
View File
@@ -9,9 +9,9 @@ PGHOST=postgres
DATABASE_URL=postgresql://socialflow:changeme@postgres:5432/socialflow
# Configuration de l'application
PORT=5000
PORT=4523
NODE_ENV=production
APP_URL=http://localhost:5000
APP_URL=http://localhost:4523
# Clé secrète pour les sessions (CHANGEZ CETTE VALEUR)
SESSION_SECRET=your-secret-key-change-me-to-random-string