-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfly.toml
More file actions
43 lines (35 loc) · 758 Bytes
/
fly.toml
File metadata and controls
43 lines (35 loc) · 758 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
app = "tabularius"
primary_region = "iad"
[build]
dockerfile = "dockerfile"
[http_service]
internal_port = 8080
force_https = true
auto_start_machines = true
auto_stop_machines = "suspend"
min_machines_running = 0
processes = ["app"]
[processes]
app = "run -A --no-check ./server/srv.mjs"
# Volume must be created manually:
# fly volume create tabularius_data -r iad -n 1
[mounts]
source = "tabularius_data"
destination = "/app/data"
[env]
SRV_HOST = "0.0.0.0"
SRV_PORT = "8080"
LOG_DEBUG = "true"
DATA_DIR = "/app/data"
DB_FILE = "/app/data/tabularius.duckdb"
TMP_DIR = ".tmp"
[[statics]]
url_prefix = "/client"
guest_path = "./client"
[[statics]]
url_prefix = "/shared"
guest_path = "./shared"
[vm]
cpu_kind = "shared"
cpus = 8
memory_mb = 8_192