Skip to content

Commit

Permalink
try granian
Browse files Browse the repository at this point in the history
  • Loading branch information
SamDudley committed Nov 1, 2024
1 parent 68b63f7 commit 2f33d4c
Show file tree
Hide file tree
Showing 3 changed files with 141 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ services:
environment:
- DATABASE_URL=psql://postgres:postgres@db:5432/fido
- CELERY_BROKER_URL=rediss://redis:redis@redis:6379/0
command: python manage.py runserver 0.0.0.0:8000
# command: python manage.py runserver 0.0.0.0:8000
command: granian --interface wsgi config.wsgi:application --workers 16 --host 0.0.0.0 --port 8000
ports:
- "0.0.0.0:8000:8000"
volumes:
Expand Down
140 changes: 138 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ redis = "^5.0.3"
django-import-export = "^3.3.07"
dbt-copilot-python = "^0.2.1"
django-log-formatter-asim = "^0.0.4"
granian = "^1.6.3"

[tool.poetry.group.prod]
optional = true
Expand Down

0 comments on commit 2f33d4c

Please sign in to comment.