When I run fly deploy
with a designed http_checks failure, The deployment process just hangs there without stopping, and the monitor keeps outputing “error”, making the workflow afterwards unable to start. How do I make it automatically stop?
My fly.toml is below:
app = "lively-resonance-1025"
primary_region = "yul"
[deploy]
release_command = "npm run build"
[processes]
app = "node app.js"
[build]
[build.args]
NODE_VERSION = "16.19.1"
[env]
PORT = "8080"
[[services]]
internal_port = 8080
processes = ["app"]
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
[[services.http_checks]]
interval = 10000
grace_period = "5s"
method = "get"
path = "/health"
protocol = "http"
timeout = 2000
tls_skip_verify = false
restart_limit = 3
[[services.ports]]
handlers = ["http"]
port = 80
force_https = true
[[services.ports]]
handlers = ["tls", "http"]
port = "443"