mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-10-31 21:48:49 +00:00
46 lines
911 B
TOML
46 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
|