live_beats/fly.toml

46 lines
807 B
TOML
Raw Normal View History

2021-11-16 16:58:22 +00:00
app = "livebeats"
kill_signal = "SIGTERM"
kill_timeout = 5
processes = []
[deploy]
release_command = "/app/entry eval LiveBeats.Release.migrate"
[env]
IPV6 = 1
URL_HOST = "livebeats.fly.dev"
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
[experimental]
allowed_public_ports = []
auto_rollback = true
[[services]]
http_checks = []
internal_port = 4000
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
2021-11-18 15:40:05 +00:00
hard_limit = 2500
soft_limit = 2000
type = "connections"
2021-11-16 16:58:22 +00:00
[[services.ports]]
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "30s" # allow some time for startup
interval = "15s"
restart_limit = 0
timeout = "2s"