aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fly/xesite/fly.dev.toml4
-rw-r--r--fly/xesite/fly.toml6
2 files changed, 10 insertions, 0 deletions
diff --git a/fly/xesite/fly.dev.toml b/fly/xesite/fly.dev.toml
index 8198caa..5d932c3 100644
--- a/fly/xesite/fly.dev.toml
+++ b/fly/xesite/fly.dev.toml
@@ -23,6 +23,7 @@ auto_extend_size_limit = "10GB"
url_prefix = "/"
guest_path = "/"
tigris_bucket = "xesite-dev"
+index_document = "index.html"
[build]
image = "ghcr.io/xe/site/bin:earthly"
@@ -38,6 +39,9 @@ INTERNAL_API_BIND = ":80"
internal_port = 3000
processes = ["app"]
protocol = "tcp"
+auto_stop_machines = true
+auto_start_machines = true
+min_machines_running = 0
[services.concurrency]
hard_limit = 300
diff --git a/fly/xesite/fly.toml b/fly/xesite/fly.toml
index 9bab818..66bfd02 100644
--- a/fly/xesite/fly.toml
+++ b/fly/xesite/fly.toml
@@ -17,6 +17,12 @@ 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"