Fly.io Deployment¶
Strata's hosted preview runs on Fly.io at strata-notebook.fly.dev.
Prerequisites¶
- Fly CLI installed
fly auth logincompleted
Deploy¶
The volume defined in [[mounts]] (strata_data, 5 GB auto-extending to
20 GB) is created automatically on first deploy, no separate
fly volumes create step needed.
Configuration¶
The fly.toml at the repo root configures:
- VM size:
shared-cpu-4xwith 2GB RAM - Auto-scaling: machines suspend when idle, auto-start on requests
- Persistent storage: 5GB volume at
/home/strata/.stratawith auto-extend - Health check: HTTP on
/healthevery 15s
Key environment variables¶
[env]
STRATA_DEPLOYMENT_MODE = "personal"
STRATA_ALLOW_REMOTE_CLIENTS_IN_PERSONAL = "true"
STRATA_NOTEBOOK_PYTHON_VERSIONS = '["3.12","3.13"]'
UV_PYTHON_DOWNLOADS = "automatic"