Skip to main content
Mirage’s configuration is plain data. Write it as YAML and hand it to the mirage CLI, or send the same fields as JSON to the server API. Both take one schema. The CLI fills in ${NAME} and resolves script paths before it sends a config; the API takes it as written. See Values and paths.

Levels

Settings live at three levels. A server runs workspaces, and each workspace runs sessions. In an app, Workspace(...) takes the same workspace config in code. Limits can be set at all three levels; see Limits. A config never holds a secret, only a pointer to one; see Service Credentials.