mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +02:00
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:
1 parent
5bd45764b4
commit
8ea8ad8085
5 files changed
+19
-19
No files matched your search
+3
-3
@@ -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"]
|
||||
Reference in new issue
Block a user