mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 19:05:18 +00:00
Add native Heroku deployment (non-Docker) - switch from container to buildpack
This commit is contained in:
parent
ede3f82143
commit
af0c7f0b4b
3 changed files with 7 additions and 1 deletions
2
Procfile
Normal file
2
Procfile
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
web: python -m gunicorn -k uvicorn.workers.UvicornWorker -c pr_agent/servers/gunicorn_config.py --forwarded-allow-ips "*" pr_agent.servers.github_app:app
|
||||
|
||||
|
|
@ -24,7 +24,9 @@ import os
|
|||
#
|
||||
|
||||
# bind = '0.0.0.0:5000'
|
||||
bind = '0.0.0.0:3000'
|
||||
# Use Heroku's PORT env var if available, otherwise default to 3000
|
||||
port = int(os.getenv('PORT', '3000'))
|
||||
bind = f'0.0.0.0:{port}'
|
||||
backlog = 2048
|
||||
|
||||
#
|
||||
|
|
|
|||
2
runtime.txt
Normal file
2
runtime.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
python-3.12.10
|
||||
|
||||
Loading…
Reference in a new issue