mirror of
https://github.com/FlipsideCrypto/badger.git
synced 2026-02-06 10:57:46 +00:00
42 lines
871 B
TOML
42 lines
871 B
TOML
# fly.toml app configuration file generated for badger-api on 2023-10-17T15:31:32-05:00
|
|
#
|
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
|
#
|
|
|
|
app = "badger-api"
|
|
primary_region = "dfw"
|
|
kill_signal = "SIGINT"
|
|
kill_timeout = "5s"
|
|
|
|
[experimental]
|
|
auto_rollback = true
|
|
|
|
[deploy]
|
|
release_command = "python manage.py migrate"
|
|
|
|
[processes]
|
|
app = "gunicorn api.wsgi --log-level=info --log-file=- --bind 0.0.0.0:8080"
|
|
|
|
[[services]]
|
|
protocol = "tcp"
|
|
internal_port = 8080
|
|
processes = ["app"]
|
|
|
|
[[services.ports]]
|
|
port = 80
|
|
handlers = ["http"]
|
|
force_https = true
|
|
|
|
[[services.ports]]
|
|
port = 443
|
|
handlers = ["tls", "http"]
|
|
[services.concurrency]
|
|
type = "connections"
|
|
hard_limit = 25
|
|
soft_limit = 20
|
|
|
|
[[services.tcp_checks]]
|
|
interval = "15s"
|
|
timeout = "2s"
|
|
grace_period = "60s"
|