-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfly.toml
62 lines (53 loc) · 1.21 KB
/
fly.toml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# fly.toml app configuration file generated for sidekicksammy on 2023-11-16T21:43:56-09:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "sidekicksammy"
primary_region = "sea"
[build]
[build.args]
NODE_VERSION = "20"
[deploy]
release_command = ".fly/release.sh"
[env]
# now pointing to rw
#DATABASE_URL = "file://data/sqlite-1.db"
MIGRATE_ON_BOOT = "true"
#PORT = "8910"
REDWOOD_DISABLE_TELEMETRY = "1"
#[[mounts]]
#source = "data"
#destination = "/data"
[processes]
app = ".fly/start.sh"
cron = ".fly/cron.sh"
[[services]]
http_checks = []
internal_port = 8910
processes = ["app"]
protocol = "tcp"
[[services.ports]]
handlers = ["http"]
port = "80"
[[services.ports]]
handlers = ["tls", "http"]
port = "443"
[services.concurrency]
hard_limit = 25
soft_limit = 20
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 6
timeout = "2s"
[vm]
cpu_kind = "shared"
memory_mb = 1024
cpus = 1
#[http_service]
# internal_port = 8910
# force_https = true
# auto_stop_machines = true
# auto_start_machines = true
# min_machines_running = 0
# processes = ["app"]