diff --git a/pages/fly.toml b/pages/fly.toml new file mode 100644 index 0000000..0cacfd1 --- /dev/null +++ b/pages/fly.toml @@ -0,0 +1,30 @@ +app = "green-tea-pages" +primary_region = "iad" + +[build] + dockerfile = "Dockerfile" + +[env] + GITEA_URL = "https://teahub.xyz" + PAGES_SITES = '{"persimmons.app":"persimmons/site","phast.app":"phast/site"}' + PAGES_PULL_SECONDS = "300" + +[http_service] + internal_port = 8080 + force_https = true + auto_stop_machines = "off" + min_machines_running = 1 + [[http_service.checks]] + grace_period = "10s" + interval = "30s" + method = "GET" + path = "/healthz" + timeout = "5s" + +[mounts] + source = "pages_data" + destination = "/data" + +[[vm]] + size = "shared-cpu-1x" + memory = "256mb"