live_beats/fly.toml

47 lines
911 B
TOML
Raw Permalink Normal View History

2023-05-22 17:57:29 +00:00
# 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.
#
2021-11-16 16:58:22 +00:00
2023-05-22 17:57:29 +00:00
app = "livebeats"
primary_region = "ord"
2021-11-16 16:58:22 +00:00
kill_signal = "SIGTERM"
2023-05-22 17:57:29 +00:00
kill_timeout = "5s"
[experimental]
auto_rollback = true
2021-11-16 16:58:22 +00:00
[deploy]
2021-12-03 13:54:28 +00:00
release_command = "/app/bin/migrate"
2021-11-16 16:58:22 +00:00
[env]
2023-05-22 17:57:29 +00:00
BUMBLEBEE_CACHE_DIR = "/app/.bumblebee"
2021-12-03 13:54:28 +00:00
PHX_HOST = "livebeats.fly.dev"
2021-11-16 16:58:22 +00:00
2021-11-16 20:54:40 +00:00
[mounts]
source="data"
2021-11-17 03:11:11 +00:00
destination="/app/uploads"
2021-11-16 20:54:40 +00:00
2021-11-16 16:58:22 +00:00
[[services]]
2023-05-22 17:57:29 +00:00
protocol = "tcp"
2021-11-16 16:58:22 +00:00
internal_port = 4000
processes = ["app"]
[[services.ports]]
port = 80
2023-05-22 17:57:29 +00:00
handlers = ["http"]
2021-11-16 16:58:22 +00:00
[[services.ports]]
port = 443
2023-05-22 17:57:29 +00:00
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 2500
soft_limit = 2000
2021-11-16 16:58:22 +00:00
[[services.tcp_checks]]
interval = "15s"
2023-05-22 17:57:29 +00:00
timeout = "2s"
grace_period = "20s"
2021-11-16 16:58:22 +00:00
restart_limit = 0