Merge pull request #12 from dx-tan/add_elements

Update: Timeout
This commit is contained in:
Đỗ Xuân Tân 2023-12-12 18:16:37 +07:00 committed by GitHub Enterprise
commit 590047b000
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ server {
location ~ ^/api {
proxy_pass {{proxy_server}};
proxy_connect_timeout 300;
}
location /static/drf_spectacular_sidecar/ {

View File

@ -87,7 +87,7 @@ services:
command: sh -c "python manage.py collectstatic --no-input &&
python manage.py migrate &&
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"
# minio: