From a00a03f51ced9b566c34b78408bf030776fb76b5 Mon Sep 17 00:00:00 2001 From: Son NK Date: Sun, 7 Jul 2019 23:13:16 +0200 Subject: [PATCH] use 2 worker for gunicorn --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 232d7018..c3e8ed87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,6 @@ RUN pip3 install -r requirements.txt COPY . . -CMD gunicorn wsgi:app -b 0.0.0.0:7777 -w 4 --timeout 15 --log-level DEBUG +CMD gunicorn wsgi:app -b 0.0.0.0:7777 -w 2 --timeout 15 --log-level DEBUG #CMD ["/usr/local/bin/gunicorn", "wsgi:app", "-k", "gthread", "-b", "0.0.0.0:5000", "-w", "2", "--timeout", "15", "--log-level", "DEBUG"]