Skip to content

Commit 1507624

Browse files
authored
Merge pull request #19 from breez/fix-configuration
Disable auto stop machines and remove http section
2 parents 30a18f4 + 7e9f565 commit 1507624

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

fly.toml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ GO_VERSION = '1.22'
1313
[env]
1414
PORT = '8080'
1515

16-
[http_service]
17-
internal_port = 8080
18-
force_https = true
19-
auto_stop_machines = true
20-
auto_start_machines = true
21-
min_machines_running = 0
22-
processes = ['app']
23-
2416
[[vm]]
2517
memory = '1gb'
2618
cpu_kind = 'shared'
@@ -29,8 +21,15 @@ cpus = 1
2921
[[services]]
3022
internal_port = 8080
3123
protocol = "tcp"
24+
min_machines_running = 2
25+
processes = ['app']
3226

3327
[[services.ports]]
3428
handlers = ["tls"]
3529
port = 443
3630
tls_options = { "alpn" = ["h2"] }
31+
32+
[services.concurrency]
33+
type = "connections"
34+
hard_limit = 1000
35+
soft_limit = 500

0 commit comments

Comments
 (0)