aboutsummaryrefslogtreecommitdiff
path: root/fly/xesite/fly.toml
blob: 104e915e19c4e1df1ccdb56f2b3ba828ed29f9b1 (plain)
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
# fly.toml file generated for xesite on 2023-09-27T19:39:44-04:00

app = "xesite"
primary_region = "yyz"

vm.cpus = 2
vm.memory = "2GB"

kill_signal = "SIGINT"
kill_timeout = 5

[mounts]
source = "data"
destination = "/data"
initial_size = "4GB"
auto_extend_size_threshold = 80
auto_extend_size_increment = "1GB"
auto_extend_size_limit = "10GB"

# [[statics]]
# url_prefix = "/"
# guest_path = "/"
# tigris_bucket = "xesite"
# index_document = "index.html"

[build]
image = "ghcr.io/xe/site/bin:earthly"

[env]
DATA_DIR = "/data"
GIT_BRANCH = "main"
SITE_URL = "https://xeiaso.net/"
INTERNAL_API_BIND = ":80"

[[services]]
internal_port = 3000
processes = ["app"]
protocol = "tcp"

[services.concurrency]
hard_limit = 300
soft_limit = 250
type = "connections"

[[services.ports]]
force_https = true
handlers = ["http"]
port = 80

[[services.ports]]
handlers = ["tls", "http"]
port = 443