Remove direct port exposure for the application container

Remove the exposed port mapping for the application service in docker-compose.yml to prevent port conflicts, as Nginx now handles external access via the Docker network.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/p0c5kxJ
This commit is contained in:
michaelschal committed 2025-10-01 14:36:33 +00:00
1 parent e4f7e72224
commit 5fcbd33a42
1 file changed
+4 -2
+4 -2
View File
@@ -31,8 +31,10 @@ services:
dockerfile: Dockerfile
container_name: socialflow-app
restart: unless-stopped
ports:
- "${PORT:-5000}:5000"
# Port non exposé publiquement car nginx reverse proxy accède via le réseau Docker
# Décommentez si vous avez besoin d'accéder directement sans nginx :
# ports:
# - "${PORT:-5000}:5000"
environment:
NODE_ENV: production
PORT: 5000