live_beats/fly.toml
2024-06-04 09:45:35 -04:00

43 lines
883 B
TOML

# fly.toml app configuration file generated for livebeats on 2023-05-19T22:42:40-04:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "livebeats"
primary_region = "iad"
kill_signal = "SIGTERM"
kill_timeout = "5s"
[experimental]
auto_rollback = true
[deploy]
release_command = "/app/bin/migrate"
[env]
BUCKET_MOUNT = "/tigris"
BUMBLEBEE_CACHE_DIR = "/app/.bumblebee"
PHX_HOST = "livebeats.fly.dev"
[[services]]
protocol = "tcp"
internal_port = 4000
processes = ["app"]
[[services.ports]]
port = 80
handlers = ["http"]
[[services.ports]]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 2500
soft_limit = 2000
[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
grace_period = "20s"
restart_limit = 0