Update application and database port configurations

Adjusted Docker configuration, exposing PostgreSQL on port 4523 and the application on internal port 5555, with Nginx proxying requests to the application. Updated Dockerfile, docker-compose.yml, and DOCKER.md accordingly.

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/rBcOjHB
This commit is contained in:
michaelschal committed 2025-10-17 13:09:32 +00:00
1 parent 5bd45764b4
commit 8ea8ad8085
5 files changed
+19 -19

No files matched your search

+3 -3
View File
@@ -34,12 +34,12 @@ RUN npm run build
# Nettoyer les fichiers inutiles pour réduire la taille
RUN rm -rf client node_modules/.cache
# Exposer le port de l'application (défini par ENV PORT)
EXPOSE 4523
# Exposer le port de l'application
EXPOSE 5555
# Variables d'environnement par défaut
ENV NODE_ENV=production
ENV PORT=4523
ENV PORT=5555
# Démarrer l'application
CMD ["npm", "run", "start"]