mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-11-28 18:51:06 +00:00
42 lines
748 B
TOML
42 lines
748 B
TOML
|
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"
|
||
|
|
||
|
[experimental]
|
||
|
allowed_public_ports = []
|
||
|
auto_rollback = true
|
||
|
|
||
|
[[services]]
|
||
|
http_checks = []
|
||
|
internal_port = 4000
|
||
|
processes = ["app"]
|
||
|
protocol = "tcp"
|
||
|
script_checks = []
|
||
|
|
||
|
[services.concurrency]
|
||
|
hard_limit = 25
|
||
|
soft_limit = 20
|
||
|
type = "connections"
|
||
|
|
||
|
[[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"
|