minicharge.fly.dev/fly.toml

41 lines
775 B
TOML

# fly.toml file generated for minicharge on 2022-07-03T18:59:00+09:00
app = "minicharge"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[env]
LISTEN_ADDR = "0.0.0.0:8080"
RUN_MIGRATIONS = "1"
HTTP_CLIENT_TIMEOUT = "120"
[experimental]
allowed_public_ports = []
auto_rollback = true
[[services]]
http_checks = []
internal_port = 8080
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"