1# The dev.site control plane on Fly.2#3# One machine, one volume, SQLite on it. That is a deliberate ceiling, not an4# oversight: a Fly volume is attached to a single machine in a single region, and5# nothing here wants more than one writer. The data is tiny — a few hundred bytes6# per account — and since the heartbeat went away the write path is a handful of7# rows per user per lifetime, so the constraint that matters is reads, which a8# shared CPU serves comfortably.9#10# What is *not* here, and must not be: DEVSITE_SIGNING_KEY. It is a secret.1112app = "devsite"13primary_region = "sjc"1415[build]16 dockerfile = "Dockerfile"1718[env]19 # This forms OAuth callbacks and the capability issuer. Shoo also derives its20 # default client id and pairwise subjects from it, so changing it after anyone21 # has signed in is disruptive. It must match the hostname browsers load.22 DEVSITE_PUBLIC_ORIGIN = "https://dev.site"23 # This deployment uses the relays from its Iroh Services project. A fork can24 # replace this list or remove it to use the n0 relay preset.25 DEVSITE_RELAY_URLS = "https://e67jyfby7vj7ak9h9.euc1.relay.iroh-svc.com/,https://e67jyfby7vj7ak9h9.use1.relay.iroh-svc.com/,https://e67jyfby7vj7ak9h9.usw1.relay.iroh-svc.com/,https://e67jyfby7vj7ak9h9.aps1.relay.iroh-svc.com/"26 RUST_LOG = "devsite_server=info,tower_http=warn,warn"2728[[mounts]]29 source = "devsite_data"30 destination = "/data"31 initial_size = "1gb"3233[http_service]34 internal_port = 808035 force_https = true36 # Avoid a cold start on the capability-issuance path.37 auto_stop_machines = "off"38 auto_start_machines = true39 min_machines_running = 14041 [http_service.concurrency]42 type = "requests"43 hard_limit = 25044 soft_limit = 2004546# Cheap, unauthenticated, and touches no state: it reports the origin the process47# actually booted with, which is the setting most worth noticing is wrong.48[[http_service.checks]]49 interval = "30s"50 timeout = "5s"51 grace_period = "10s"52 method = "GET"53 path = "/api/config"5455[[vm]]56 size = "shared-cpu-1x"57 memory = "512mb"