Skip to content

Commit

Permalink
changes to fly toml to make the app suspend instead of fully stopping
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkby7e committed Oct 7, 2024
1 parent 9fa3b7d commit 2724e19
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,14 @@ console_command = '/rails/bin/rails console'

[build]

[env]
DATABASE_URL = 'sqlite3:///data/production.sqlite3'

[[mounts]]
source = 'data'
destination = '/data'

[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = 'stop'
auto_stop_machines = 'suspend'
auto_start_machines = true
min_machines_running = 0
processes = ['app']
Expand Down

0 comments on commit 2724e19

Please sign in to comment.