added fly.toml, and updated reqs

This commit is contained in:
DJ Gillespie 2023-05-17 19:56:54 -06:00
parent 5e72b4351b
commit 38f16af067
2 changed files with 49 additions and 1 deletions

48
fly.toml Normal file
View File

@ -0,0 +1,48 @@
# fly.toml file generated for qrtr-services-staging on 2023-05-17T12:48:42-06:00
app = "qrtr-services-staging"
kill_signal = "SIGINT"
kill_timeout = 5
[deploy]
release_command = "python manage.py migrate"
[env]
[build]
builder = "paketobuildpacks/builder:full"
[experimental]
auto_rollback = true
cmd = []
entrypoint = []
exec = []
[processes]
app = "gunicorn --bind 0.0.0.0:8000 core.wsgi"
[[services]]
http_checks = []
internal_port = 8000
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"

View File

@ -1,4 +1,3 @@
psycopg2-binary==2.8.6
asgiref==3.3.4 asgiref==3.3.4
certifi==2020.12.5 certifi==2020.12.5
cffi==1.14.5 cffi==1.14.5
@ -18,6 +17,7 @@ drf-yasg==1.20.0
idna==2.10 idna==2.10
oauthlib==3.1.0 oauthlib==3.1.0
plaid-python==9.2.0 plaid-python==9.2.0
psycopg2==2.8.6
pycparser==2.20 pycparser==2.20
PyJWT==2.1.0 PyJWT==2.1.0
python3-openid==3.2.0 python3-openid==3.2.0