-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathfly.toml
More file actions
43 lines (35 loc) · 804 Bytes
/
fly.toml
File metadata and controls
43 lines (35 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# fly.toml app configuration file generated for ehtt on 2023-07-09T13:47:09+08:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "ehtt"
primary_region = "hkg"
kill_signal = "SIGINT"
kill_timeout = "5s"
swap_size_mb = 512
[experimental]
auto_rollback = true
[env]
DB_PATH = "/db"
DB_REPO = "EhTagTranslation/Database"
PORT = "8080"
[[mounts]]
source = "ehtt_db_machines"
destination = "/db"
processes = ["app"]
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = "off"
auto_start_machines = false
min_machines_running = 1
processes = ["app"]
[http_service.concurrency]
type = "requests"
soft_limit = 20
[[http_service.checks]]
grace_period = "30s"
interval = "30s"
method = "HEAD"
timeout = "5s"
path = "/database"