Skip to content

Commit

Permalink
Add fly config
Browse files Browse the repository at this point in the history
  • Loading branch information
nbudin committed Sep 11, 2023
1 parent 77ee275 commit 1080bc2
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# fly.toml app configuration file generated for journeysurveys on 2023-09-11T11:21:53-07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "journeysurveys"

[build]
image = "ghcr.io/nbudin/journey:latest"

[deploy]
release_command = "bundle exec rake db:migrate"
strategy = "rolling"

[env]
ILLYAN_URL = "https://accounts.sugarpond.net"
PORT = "3000"
RAILS_LOG_TO_STDOUT = "1"
SUGAR_POND_BRANDING = "1"

[http_service]
auto_start_machines = true
auto_stop_machines = true
internal_port = 3000
min_machines_running = 0

# Does not work with autoscaling to zero
# [[http_service.checks]]
# grace_period = "3s"
# interval = "30s"
# method = "GET"
# path = "/questionnaires"
# timeout = "5s"

0 comments on commit 1080bc2

Please sign in to comment.