2026-10-14 00:20:58 -07:00
|
|
|
app = "phast-app"
|
|
|
|
|
primary_region = "iad"
|
|
|
|
|
|
|
|
|
|
[build]
|
|
|
|
|
dockerfile = "Dockerfile"
|
|
|
|
|
|
2026-10-14 15:05:02 -07:00
|
|
|
[env]
|
|
|
|
|
GITEA_URL = "https://teahub.xyz"
|
|
|
|
|
PHAST_DATA_DIR = "/data/phast"
|
|
|
|
|
FASTMCP_HOME = "/data/fastmcp"
|
|
|
|
|
ALLOWED_GITEA_USERS = "matcha,chai"
|
|
|
|
|
PORT = "8080"
|
|
|
|
|
PHAST_HOST = "0.0.0.0" # asyncio binds :: as IPv6-only; the Fly proxy arrives over IPv4
|
|
|
|
|
|
2026-10-14 00:20:58 -07:00
|
|
|
[http_service]
|
|
|
|
|
internal_port = 8080
|
|
|
|
|
force_https = true
|
2026-10-14 15:05:02 -07:00
|
|
|
auto_stop_machines = "off"
|
2026-10-14 00:20:58 -07:00
|
|
|
min_machines_running = 1
|
|
|
|
|
|
|
|
|
|
[[http_service.checks]]
|
2026-10-14 15:05:02 -07:00
|
|
|
grace_period = "20s"
|
|
|
|
|
interval = "30s"
|
2026-10-14 00:20:58 -07:00
|
|
|
method = "GET"
|
|
|
|
|
path = "/healthz"
|
|
|
|
|
timeout = "5s"
|
|
|
|
|
|
2026-10-14 15:05:02 -07:00
|
|
|
[mounts]
|
|
|
|
|
source = "phast_data"
|
|
|
|
|
destination = "/data"
|
|
|
|
|
|
2026-10-14 00:20:58 -07:00
|
|
|
[[vm]]
|
|
|
|
|
memory = "512mb"
|
|
|
|
|
cpu_kind = "shared"
|
|
|
|
|
cpus = 1
|