File tree Expand file tree Collapse file tree 1 file changed +22
-20
lines changed Expand file tree Collapse file tree 1 file changed +22
-20
lines changed Original file line number Diff line number Diff line change 1
- # fly.toml file generated for devfaq-api on 2022-11-19T13:46:34+01:00
1
+ # fly.toml app configuration file generated for devfaq-api-production on 2023-05-09T10:27:26+02:00
2
+ #
3
+ # See https://fly.io/docs/reference/configuration/ for information about how to use this file.
4
+ #
2
5
3
6
app = " devfaq-api-production"
7
+ primary_region = " waw"
4
8
kill_signal = " SIGINT"
5
- kill_timeout = 5
6
- processes = []
9
+ kill_timeout = " 5s"
7
10
8
- [env ]
9
- PORT = " 8080 "
11
+ [experimental ]
12
+ auto_rollback = true
10
13
11
14
[build ]
12
15
dockerfile = " Dockerfile"
13
16
14
17
[deploy ]
15
18
release_command = " pnpm --filter=api exec prisma migrate deploy"
16
19
17
- [experimental ]
18
- allowed_public_ports = []
19
- auto_rollback = true
20
+ [env ]
21
+ GIT_BRANCH = " main"
22
+ GIT_COMMIT_HASH = " 7d42de248dcd4fcaec1c321fcf9f0b497691aa3f"
23
+ PORT = " 8080"
20
24
21
25
[[services ]]
22
- http_checks = []
26
+ protocol = " tcp "
23
27
internal_port = 8080
24
28
processes = [" app" ]
25
- protocol = " tcp"
26
- script_checks = []
27
- [services .concurrency ]
28
- hard_limit = 25
29
- soft_limit = 20
30
- type = " connections"
31
29
32
30
[[services .ports ]]
33
- force_https = true
34
- handlers = [" http" ]
35
31
port = 80
32
+ handlers = [" http" ]
33
+ force_https = true
36
34
37
35
[[services .ports ]]
38
- handlers = [" tls" , " http" ]
39
36
port = 443
37
+ handlers = [" tls" , " http" ]
38
+ [services .concurrency ]
39
+ type = " connections"
40
+ hard_limit = 25
41
+ soft_limit = 20
40
42
41
43
[[services .tcp_checks ]]
42
- grace_period = " 1s"
43
44
interval = " 15s"
44
- restart_limit = 0
45
45
timeout = " 2s"
46
+ grace_period = " 1s"
47
+ restart_limit = 0
You can’t perform that action at this time.
0 commit comments