Skip to content

Commit

Permalink
Auto stop service when not in use
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Feb 16, 2024
1 parent 248a01d commit e45d87e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ kill_timeout = "5s"
protocol = "tcp"
internal_port = 8080
processes = ["app"]
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0

[[services.ports]]
port = 80
Expand Down

0 comments on commit e45d87e

Please sign in to comment.