Reduce nb gunicorn workers to 2 to avoid using too much RAM
This commit is contained in:
parent
a49730d27f
commit
4e539f0428
|
@ -12,6 +12,6 @@ RUN pip3 install -r requirements.txt
|
|||
|
||||
COPY . .
|
||||
|
||||
#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","4","--timeout","15","--log-level","DEBUG"]
|
||||
#gunicorn wsgi:app -b 0.0.0.0:7777 -w 2 --timeout 15 --log-level DEBUG
|
||||
CMD ["gunicorn","wsgi:app","-b","0.0.0.0:7777","-w","2","--timeout","15","--log-level","DEBUG"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue