Skip to content

Commit 6468c35

Browse files
committed
add fly.toml
1 parent ba40140 commit 6468c35

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

fly-pro.toml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# fly.toml app configuration file generated for next-backend on 2024-07-19T08:47:44+01:00
2+
#
3+
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
4+
#
5+
6+
app = 'next-backend'
7+
primary_region = 'lhr'
8+
kill_signal = 'SIGINT'
9+
kill_timeout = '5s'
10+
11+
[env]
12+
DIGGER_HOSTNAME = 'https://ui-backend.digger.dev'
13+
14+
[build]
15+
dockerfile = 'Dockerfile_backend'
16+
17+
[[services]]
18+
protocol = 'tcp'
19+
internal_port = 3000
20+
processes = ['app']
21+
22+
[[services.ports]]
23+
port = 80
24+
handlers = ['http']
25+
force_https = true
26+
27+
[[services.ports]]
28+
port = 443
29+
handlers = ['tls', 'http']
30+
31+
[services.concurrency]
32+
type = 'connections'
33+
hard_limit = 25
34+
soft_limit = 20
35+
36+
[[vm]]
37+
memory = '1gb'
38+
cpu_kind = 'shared'
39+
cpus = 1

0 commit comments

Comments
 (0)