Skip to content

Commit

Permalink
ops: update fly.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
zapbampow committed May 3, 2023
1 parent 1b05fa0 commit 498074b
Showing 1 changed file with 26 additions and 37 deletions.
63 changes: 26 additions & 37 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,50 +1,39 @@
# fly.toml app configuration file generated for bgg-stats on 2023-05-02T08:51:49-04:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "bgg-stats"
primary_region = "iad"
kill_signal = "SIGINT"
kill_timeout = 5
processes = [ ]
kill_timeout = "5s"

[experimental]
allowed_public_ports = [ ]
auto_rollback = true
cmd = "start.sh"
entrypoint = "sh"
auto_rollback = true

[mounts]
source = "data"
destination = "/data"
[env]
PORT = "8080"

[[services]]
internal_port = 8_080
processes = [ "app" ]
protocol = "tcp"
script_checks = [ ]

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

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

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

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

[[services.http_checks]]
interval = "10s"
grace_period = "5s"
method = "get"
path = "/healthcheck"
protocol = "http"
timeout = "2s"
tls_skip_verify = false
headers = { }
interval = "15s"
timeout = "2s"
grace_period = "1s"
restart_limit = 0

0 comments on commit 498074b

Please sign in to comment.