live_beats/fly.toml
Chris McCord 57f5c0f142 Whisper
2023-05-22 13:57:29 -04:00

47 lines
911 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 = "ord"
kill_signal = "SIGTERM"
kill_timeout = "5s"
[experimental]
auto_rollback = true
[deploy]
release_command = "/app/bin/migrate"
[env]
BUMBLEBEE_CACHE_DIR = "/app/.bumblebee"
PHX_HOST = "livebeats.fly.dev"
[mounts]
source="data"
destination="/app/uploads"
[[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