From a7b22f99dee78449d86dc19b2cbe9fe37c5f6f85 Mon Sep 17 00:00:00 2001 From: Shavkatjon Odamboyev <153182519+Shavkatjon-O@users.noreply.github.com> Date: Mon, 9 Sep 2024 02:01:36 +0500 Subject: [PATCH] fix: life span in uvicorn --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index edc1f28..8eb552b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,7 +19,7 @@ services: context: ./ dockerfile: compose/django/Dockerfile container_name: brb_titans_web - command: uvicorn core.asgi:application --host 0.0.0.0 --port ${DJANGO_PORT} --workers 9 + command: uvicorn core.asgi:application --host 0.0.0.0 --port ${DJANGO_PORT} --lifespan off --workers 9 volumes: - ./:/app - ./static:/home/app/web/static