Fly.io Deployment¶
Strata's hosted preview runs on Fly.io at strata-notebook.fly.dev.
Prerequisites¶
- Fly CLI installed
fly auth logincompleted
Deploy¶
# First time
fly apps create strata-notebook
fly volumes create strata_data --region sjc --size 5
fly deploy
# Subsequent deploys
fly deploy
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"