Skip to content

Commit

Permalink
fix: life span in uvicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
Shavkatjon-O committed Sep 8, 2024
1 parent 932743c commit a7b22f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7b22f9

Please sign in to comment.