Skip to content

Commit

Permalink
Allow scaling to 0 on Fly
Browse files Browse the repository at this point in the history
  • Loading branch information
s-thom committed Jan 6, 2025
1 parent d1db910 commit edbab73
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
app = "linkdrop-d071"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []

[env]
PORT = "8080"
Expand All @@ -14,10 +13,13 @@ processes = []
auto_rollback = true

[[services]]
internal_port = 8_080
processes = ["app"]
protocol = "tcp"
script_checks = []
internal_port = 8_080
processes = ["app"]
protocol = "tcp"
script_checks = []
auto_stop_machines = "stop"
auto_start_machines = true
min_machines_running = 0

[services.concurrency]
hard_limit = 25
Expand Down

0 comments on commit edbab73

Please sign in to comment.