None helped me with my problem
Can you post your fly.toml
file?
# fly.toml app configuration file generated for backend-canile-presina on 2023-08-04T17:27:21+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "backend-canile-presina"
primary_region = "ams"
kill_signal = "SIGINT"
kill_timeout = "5s"
[experimental]
auto_rollback = true
[build]
[env]
DATABASE_URI = "private"
PORT = "8080"
PSWDB = "private"
SECRET_KEY = "private"
[[services]]
protocol = "tcp"
internal_port = 8080
processes = ["app"]
[[services.ports]]
port = 80
handlers = ["http"]
force_https = true
[[services.ports]]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20
[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
grace_period = "1s"
Try adding to your [[services]] section:
auto_stop_machines = false
auto_start_machines = false
min_machines_running = 1
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.