Skip to content

Commit

Permalink
⚙️ Updates fly config to spin down instance
Browse files Browse the repository at this point in the history
  • Loading branch information
jefftriplett committed Dec 14, 2023
1 parent 1c086ed commit eca3d4f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ processes = []
[deploy]
release_command = "python manage.py migrate --noinput"

[http_service]
auto_start_machines = true
auto_stop_machines = true
force_https = false
internal_port = 8000
min_machines_running = 0
processes = ["app"]

[env]
PORT = "8000"

Expand Down

0 comments on commit eca3d4f

Please sign in to comment.