live_beats/fly.toml
2021-12-03 08:54:28 -05:00

47 lines
No EOL
831 B
TOML

app = "livebeats"
kill_signal = "SIGTERM"
kill_timeout = 5
processes = []
[deploy]
release_command = "/app/bin/migrate"
[env]
PHX_HOST = "livebeats.fly.dev"
ECTO_IPV6 = "true"
ERL_AFLAGS = "-proto_dist inet6_tcp"
[mounts]
source="data"
destination="/app/uploads"
[experimental]
allowed_public_ports = []
auto_rollback = true
[[services]]
http_checks = []
internal_port = 4000
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 2500
soft_limit = 2000
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"