diff --git a/fly.toml b/fly.toml index 005586e..0fb7b35 100644 --- a/fly.toml +++ b/fly.toml @@ -12,13 +12,10 @@ primary_region = "lax" source = "gitea_data" destination = "/data" -[[services]] +[http_service] internal_port = 3000 - processes = ["app"] - protocol = "tcp" - [[services.ports]] - handlers = ["http"] - port = 80 - [[services.ports]] - handlers = ["tls", "http"] - port = 443 + force_https = true + auto_stop_machines = true + auto_start_machines = true + min_machines_running = 0 +