Files
app/fly.toml
T

35 lines
698 B
TOML
Raw Normal View History

app = "phast-app"
primary_region = "iad"
[build]
dockerfile = "Dockerfile"
[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
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = "off"
min_machines_running = 1
[[http_service.checks]]
grace_period = "20s"
interval = "30s"
method = "GET"
path = "/healthz"
timeout = "5s"
[mounts]
source = "phast_data"
destination = "/data"
[[vm]]
memory = "512mb"
cpu_kind = "shared"
cpus = 1