reduce specs and augment timeout

This commit is contained in:
2025-10-06 18:50:18 +02:00
parent 9052e04d6c
commit 6ebd69422d

View File

@@ -20,10 +20,10 @@ EXPOSE 5000
# Variable d'environnement par défaut # Variable d'environnement par défaut
ENV FLASK_ENV=production ENV FLASK_ENV=production
ENV GUNICORN_WORKERS=5 ENV GUNICORN_WORKERS=2
ENV GUNICORN_THREADS=4 ENV GUNICORN_THREADS=2
ENV GUNICORN_WORKER_CLASS=gevent ENV GUNICORN_WORKER_CLASS=gevent
ENV GUNICORN_TIMEOUT=60 ENV GUNICORN_TIMEOUT=300
# Commande de démarrage via gunicorn (attache l'app Flask : app:app) # Commande de démarrage via gunicorn (attache l'app Flask : app:app)
# Utilise timeout raisonnable, bind sur 0.0.0.0:5000 # Utilise timeout raisonnable, bind sur 0.0.0.0:5000