Hi,
I am trying to scale my machine to 0 when not using but healthcheck seems to be preventing fly from scaling down. How do i properly configure this?
my fly.toml looks like this
app = "myapp"
primary_region = "sin"
kill_signal = "SIGINT"
kill_timeout = 5
processes = [ ]
swap_size_mb = 512
[experimental]
allowed_public_ports = [ ]
auto_rollback = true
[mounts]
source = "data"
destination = "/data"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = "stop"
auto_start_machines = true
min_machines_running = 0
[http_service.concurrency]
type = "requests"
soft_limit = 80
hard_limit = 100
[[http_service.checks]]
grace_period = "10s"
interval = "30s"
method = "GET"
protocol = "http"
timeout = "2s"
path = "/resources/healthcheck"
[[vm]]
size = "shared-cpu-1x"
memory = "512mb"