Skip to content

Commit

Permalink
pull fly.toml from fly.io
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillippOhlandt committed Oct 15, 2023
1 parent f9744f7 commit ca50999
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# fly.toml file generated for nerves-metal-detector on 2022-09-23T23:16:56+02:00
# fly.toml app configuration file generated for nerves-metal-detector on 2023-10-15T21:08:43+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "nerves-metal-detector"
primary_region = "fra"
kill_signal = "SIGTERM"
kill_timeout = 5
processes = []
kill_timeout = "5s"

[experimental]
auto_rollback = true

[deploy]
release_command = "/app/bin/migrate"
Expand All @@ -12,32 +18,25 @@ processes = []
PHX_HOST = "nerves-metal-detector.org"
PORT = "8080"

[experimental]
allowed_public_ports = []
auto_rollback = true

[[services]]
http_checks = []
protocol = "tcp"
internal_port = 8080
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 100
soft_limit = 80
type = "connections"

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

[[services.ports]]
handlers = ["tls", "http"]
port = 443
handlers = ["tls", "http"]
[services.concurrency]
type = "connections"
hard_limit = 100
soft_limit = 80

[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 0
timeout = "2s"
grace_period = "1s"

0 comments on commit ca50999

Please sign in to comment.