Skip to content

Commit

Permalink
New app config after fly migration
Browse files Browse the repository at this point in the history
  • Loading branch information
hovancik committed Aug 7, 2023
1 parent 8596305 commit 0afeb68
Showing 1 changed file with 14 additions and 28 deletions.
42 changes: 14 additions & 28 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,52 +1,38 @@
# fly.toml file generated for bsdsec on 2023-01-01T09:43:04+01:00
# fly.toml app configuration file generated for bsdsec on 2023-08-07T10:58:11+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "bsdsec"
kill_signal = "SIGINT"
kill_timeout = 5
kill_timeout = "5s"

[build]
builder = "heroku/buildpacks:20"
buildpacks = ["heroku/nodejs", "heroku/ruby"]

[build.args]
SECRET_KEY_BASE="asdf"
SECRET_KEY_BASE = "asdf"

[deploy]
release_command = "rails db:migrate"

[env]

[experimental]
allowed_public_ports = []
cmd = []
entrypoint = []
exec = []

[processes]
app = "puma -C config/puma.rb"

[[services]]
http_checks = []
protocol = "tcp"
internal_port = 3000
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"

[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
handlers = ["http"]
force_https = true

[[services.ports]]
handlers = ["tls", "http"]
port = 443

[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 25
soft_limit = 20

0 comments on commit 0afeb68

Please sign in to comment.