gunicorn timeout 30 --> 60

This commit is contained in:
Aykhan 2023-07-22 14:04:04 +00:00
parent def8e60d07
commit 995da2fcaa
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ services:
&& echo '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ migrate completed ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
&& python3 manage.py collectstatic --noinput
&& echo '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ collectstatic completed ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
&& gunicorn --bind 0.0.0.0:8000 config.wsgi"
&& gunicorn --bind 0.0.0.0:8000 --timeout 60 config.wsgi"
ports:
- "8000:8000"
depends_on:
@ -74,4 +74,4 @@ services:
#TODO: add volume for celery logs
volumes:
dbdata:
static_volume:
static_volume:

View File

@ -27,7 +27,7 @@ services:
&& echo '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ migrate completed ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
&& python3 manage.py collectstatic --noinput
&& echo '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ collectstatic completed ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
&& gunicorn --bind 0.0.0.0:8000 config.wsgi"
&& gunicorn --bind 0.0.0.0:8000 --timeout 60 config.wsgi"
ports:
- "8000:8000"
depends_on: