I currently have Fly app with 2 processes, one is a background cron process and the other is a web service. The web service listens on port 8080 and is configured in the http_service block, but the cron service doesn’t listen on any port because it doesn’t take in any requests. Is there anyway to suppress this warning as it’s not applicable (to my knowledge) in my situation?
Here is my config for reference:
app = "app-name"
primary_region = "iad"
kill_signal = "SIGTERM"
kill_timeout = 5
[build.args]
GO_VERSION = "1.23"
[processes]
app = "run-app"
cron = "run-cron"
[env]
PORT = "8080"
ENV = "production"
[mounts]
source = "nats_data"
destination = "/nats"
processes = ["app"]
initial_size = "1GB"
auto_extend_size_threshold = 90
auto_extend_size_increment = "1GB"
[deploy]
strategy = "rolling"
release_command = "run-postgres-migrations"
[http_service]
processes = ["app"]
internal_port = 8080
force_https = true
auto_stop_machines = "off"
auto_start_machines = false
min_machines_running = 3
[[http_service.checks]]
grace_period = "10s"
interval = "30s"
method = "GET"
timeout = "5s"
path = "/health"