Skip to content

Commit ec71ab1

Browse files
committed
update fly config
1 parent 398af89 commit ec71ab1

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

fly.toml

+17-16
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
# fly.toml file generated for ruby-docs on 2022-12-04T08:18:39+01:00
1+
# fly.toml app configuration file generated for ruby-docs on 2023-05-15T18:00:58+02:00
2+
#
3+
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
4+
#
25

36
app = "ruby-docs"
7+
primary_region = "fra"
48
kill_signal = "SIGINT"
5-
kill_timeout = 5
6-
processes = []
9+
kill_timeout = "5s"
10+
11+
[experimental]
12+
auto_rollback = true
713

814
[build]
915
[build.args]
@@ -16,36 +22,31 @@ processes = []
1622
[env]
1723
PORT = "8080"
1824

19-
[experimental]
20-
allowed_public_ports = []
21-
auto_rollback = true
22-
2325
[[services]]
24-
http_checks = []
26+
protocol = "tcp"
2527
internal_port = 8080
28+
min_machines_running = 0
2629
processes = ["app"]
27-
protocol = "tcp"
28-
script_checks = []
2930

3031
[services.concurrency]
32+
type = "connections"
3133
hard_limit = 25
3234
soft_limit = 20
33-
type = "connections"
3435

3536
[[services.ports]]
36-
force_https = true
37-
handlers = ["http"]
3837
port = 80
38+
handlers = ["http"]
39+
force_https = true
3940

4041
[[services.ports]]
41-
handlers = ["tls", "http"]
4242
port = 443
43+
handlers = ["tls", "http"]
4344

4445
[[services.tcp_checks]]
45-
grace_period = "1s"
4646
interval = "15s"
47-
restart_limit = 0
4847
timeout = "2s"
48+
grace_period = "1s"
49+
restart_limit = 0
4950

5051
[[statics]]
5152
guest_path = "/app/public"

0 commit comments

Comments
 (0)