reduce specs and augment timeout
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user