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

app = "xesite-dev"

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"

#[experimental]
#cmd = ["/bin/sleep", "infinity"]

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

[env]
HOME = "/data"
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