diff --git a/fly.toml b/fly.toml new file mode 100644 index 0000000..81208da --- /dev/null +++ b/fly.toml @@ -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" diff --git a/requirements.txt b/requirements.txt index 572382f..a438490 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ -psycopg2-binary==2.8.6 asgiref==3.3.4 certifi==2020.12.5 cffi==1.14.5 @@ -18,6 +17,7 @@ drf-yasg==1.20.0 idna==2.10 oauthlib==3.1.0 plaid-python==9.2.0 +psycopg2==2.8.6 pycparser==2.20 PyJWT==2.1.0 python3-openid==3.2.0