Something went wrong. Try again.
Something went wrong. Try again.
corvus.run fly.toml
1.4 kB · 52 lines
TOML
at main
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253# fly.toml — corvus.run## Rename `app` to the actual fly app before first deploy (`fly apps create`).# The SQLite ops DB lives on a fly volume mounted at /data, matching# CORVUS_DB in the Dockerfile.## Before deploying, set the OAuth / jetstream secrets:# fly secrets set CORVUS_PUBLIC_URL=https://<app>.fly.dev \# CORVUS_DEFAULT_RETURN_TO=https://<app>.fly.dev/ \# CORVUS_ALLOWED_RETURN_ORIGINS=https://<app>.fly.dev \# CORVUS_JETSTREAM_URL=wss://jetstream2.us-east.bsky.network/subscribe
app = "corvus-page"primary_region = "iad"
[build] dockerfile = "Dockerfile"
[env] CORVUS_DB = "/data/ops.db" CORVUS_STATIC_DIR = "/app/packages/editor/dist" CORVUS_PORT = "8787"
[[mounts]] source = "corvus_data" destination = "/data"
[http_service] internal_port = 8787 force_https = true auto_stop_machines = "stop" auto_start_machines = true # Keep at least one machine running so jetstream ingestion stays alive # and the in-memory subscriber registry doesn't lose connections under # idle traffic. min_machines_running = 1
[http_service.concurrency] type = "requests" soft_limit = 200 hard_limit = 250
[[http_service.checks]] interval = "15s" timeout = "5s" grace_period = "10s" method = "GET" path = "/_health"
[[vm]] size = "shared-cpu-1x" memory = "512mb"