mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-21 22:28:19 +02:00
Update the application to use port 3000 across all services
Adjusts port configurations from 5000 to 3000 in .replit, Dockerfile, docker-compose.yml, replit.md and server/index.ts for consistent service deployment. Replit-Commit-Author: Agent Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/5d315300-98fa-429a-abb0-4fdce6a2e3c9.jpg
This commit is contained in:
1 parent
39cc269d29
commit
c041256bce
5 files changed
+14
-9
No files matched your search
+3
-3
@@ -64,11 +64,11 @@ RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
||||
USER regisflow
|
||||
|
||||
# Exposer le port
|
||||
EXPOSE 5000
|
||||
EXPOSE 3000
|
||||
|
||||
# Variables d'environnement de production
|
||||
ENV NODE_ENV=production
|
||||
ENV PORT=5000
|
||||
ENV PORT=3000
|
||||
ENV NODE_OPTIONS="--max-old-space-size=512"
|
||||
|
||||
# Labels pour la documentation
|
||||
@@ -78,7 +78,7 @@ LABEL description="Application RegisFlow pour la gestion des ventes de feux d'ar
|
||||
|
||||
# Health check
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
|
||||
CMD wget --no-verbose --tries=1 --spider http://localhost:5000/ || exit 1
|
||||
CMD wget --no-verbose --tries=1 --spider http://localhost:3000/ || exit 1
|
||||
|
||||
# Point d'entrée avec script de démarrage
|
||||
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
|
||||
|
||||
Reference in new issue
Block a user