Update: Timeout
This commit is contained in:
parent
32baf69c3d
commit
b15a81c79e
@ -8,6 +8,7 @@ server {
|
|||||||
|
|
||||||
location ~ ^/api {
|
location ~ ^/api {
|
||||||
proxy_pass {{proxy_server}};
|
proxy_pass {{proxy_server}};
|
||||||
|
proxy_connect_timeout 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /static/drf_spectacular_sidecar/ {
|
location /static/drf_spectacular_sidecar/ {
|
||||||
|
@ -87,7 +87,7 @@ services:
|
|||||||
command: sh -c "python manage.py collectstatic --no-input &&
|
command: sh -c "python manage.py collectstatic --no-input &&
|
||||||
python manage.py migrate &&
|
python manage.py migrate &&
|
||||||
python manage.py compilemessages &&
|
python manage.py compilemessages &&
|
||||||
gunicorn fwd.asgi:application -k uvicorn.workers.UvicornWorker -b 0.0.0.0:9000" # pre-makemigrations on prod
|
gunicorn fwd.asgi:application -k uvicorn.workers.UvicornWorker --timeout 300 -b 0.0.0.0:9000" # pre-makemigrations on prod
|
||||||
# command: sh -c "tail -f > /dev/null"
|
# command: sh -c "tail -f > /dev/null"
|
||||||
|
|
||||||
# minio:
|
# minio:
|
||||||
|
Loading…
Reference in New Issue
Block a user