Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from gunicorn to granian #540

Merged
merged 6 commits into from
Nov 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
try granian
  • Loading branch information
SamDudley committed Nov 1, 2024
commit 2f33d4cff71a85847f9df4616eafacd317ce1163
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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:
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
@@ -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"
SamDudley marked this conversation as resolved.
Show resolved Hide resolved

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