@volvel/docs 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.md +21 -3
- package/assets/screenshots/administer/access-changes.dark.5bf247ce0f19.png +0 -0
- package/assets/screenshots/administer/access-changes.light.ed91948531ce.png +0 -0
- package/assets/screenshots/administer/access-end-users.dark.4d9a5acba896.png +0 -0
- package/assets/screenshots/administer/access-end-users.light.cef020771af1.png +0 -0
- package/assets/screenshots/administer/access-groups.dark.aaf84e089c11.png +0 -0
- package/assets/screenshots/administer/sso-audit-filters.dark.9aa82a2ac9c5.png +0 -0
- package/assets/screenshots/administer/sso-audit-filters.light.5ecfdb651ace.png +0 -0
- package/assets/screenshots/administer/{sso-branding-theme.dark.80bc3ce901a4.png → sso-branding-theme.dark.9a2c0482b3c2.png} +0 -0
- package/assets/screenshots/administer/{sso-branding-theme.light.f48bd968481c.png → sso-branding-theme.light.7be432359625.png} +0 -0
- package/assets/screenshots/administer/{sso-provider-setup.dark.8834ae797a50.png → sso-provider-setup.dark.bc7d126f135d.png} +0 -0
- package/assets/screenshots/administer/sso-provider-setup.light.0cbda9279747.png +0 -0
- package/assets/screenshots/administer/sso-workers-pools.dark.43f043620615.png +0 -0
- package/assets/screenshots/administer/sso-workers-pools.light.25b0e09b2ff0.png +0 -0
- package/assets/screenshots/console/account-sessions.dark.05dbf87d40a9.png +0 -0
- package/assets/screenshots/console/account-sessions.light.2ef44c907ee5.png +0 -0
- package/{dist/assets/screenshots/console/app-builder-list.dark.48340ac81e11.png → assets/screenshots/console/app-builder-list.dark.124cca05b904.png} +0 -0
- package/{dist/assets/screenshots/console/app-builder-list.light.85064d6742d4.png → assets/screenshots/console/app-builder-list.light.082ae0464cbe.png} +0 -0
- package/{dist/assets/screenshots/console/apps-list.dark.6580be4c6f17.png → assets/screenshots/console/apps-list.dark.b24bb8a4fe8f.png} +0 -0
- package/{dist/assets/screenshots/console/apps-list.light.35ac9711c9a0.png → assets/screenshots/console/apps-list.light.fa8996fe55ff.png} +0 -0
- package/assets/screenshots/console/{apps-share.dark.cf87c470cec4.png → apps-share.dark.0bb1a7899419.png} +0 -0
- package/{dist/assets/screenshots/console/apps-share.light.eddc9c058c37.png → assets/screenshots/console/apps-share.light.f26f075b3680.png} +0 -0
- package/assets/screenshots/console/{basics-workspace-overview.dark.75d4329d6bd9.png → basics-workspace-overview.dark.678c40fa9f2a.png} +0 -0
- package/assets/screenshots/console/{basics-workspace-overview.light.0a097241dfcb.png → basics-workspace-overview.light.86f7922860c9.png} +0 -0
- package/assets/screenshots/console/configure-alerts-default.dark.8a2c534aa415.png +0 -0
- package/{dist/assets/screenshots/console/configure-alerts.dark.3e4b58238bd2.png → assets/screenshots/console/configure-alerts.dark.314fe8d7e0c6.png} +0 -0
- package/{dist/assets/screenshots/console/configure-alerts.light.24608f63f849.png → assets/screenshots/console/configure-alerts.light.ff5022a76eca.png} +0 -0
- package/assets/screenshots/console/{configure-connection-sheet.dark.a8ae26d592fb.png → configure-connection-sheet.dark.41ba4383632c.png} +0 -0
- package/assets/screenshots/console/configure-connections.dark.52147265a170.png +0 -0
- package/assets/screenshots/console/{configure-connections.light.c3c1ec8eca52.png → configure-connections.light.8b15826634f1.png} +0 -0
- package/{dist/assets/screenshots/console/dashboard-resource.dark.532f219609cc.png → assets/screenshots/console/dashboard-resource.dark.4188f2810be1.png} +0 -0
- package/assets/screenshots/console/dashboard-resource.light.8211fe9f380e.png +0 -0
- package/{dist/assets/screenshots/console/dashboards-list.light.bb704dd75a30.png → assets/screenshots/console/dashboards-list.light.438e3d23c888.png} +0 -0
- package/assets/screenshots/console/extensions-editor.dark.4e5246f282e2.png +0 -0
- package/{dist/assets/screenshots/console/extensions-list.light.f65bb930d029.png → assets/screenshots/console/extensions-list.light.a1703d257ceb.png} +0 -0
- package/assets/screenshots/console/flow-editor.dark.00229a94001e.png +0 -0
- package/assets/screenshots/console/flow-editor.light.5eb68a339e84.png +0 -0
- package/assets/screenshots/console/operate-approvals.light.1501cede2f94.png +0 -0
- package/assets/screenshots/console/operate-cancel-by-age.dark.419042b822db.png +0 -0
- package/assets/screenshots/console/operate-cancel-by-age.light.7d48915e9922.png +0 -0
- package/assets/screenshots/console/operate-events.dark.2589975f7f46.png +0 -0
- package/assets/screenshots/console/operate-events.light.c4d8d8ae8748.png +0 -0
- package/assets/screenshots/console/operate-run-failed.dark.09addb030b58.png +0 -0
- package/assets/screenshots/console/{operate-run-failed.light.482db87101aa.png → operate-run-failed.light.6163d2f9d3b3.png} +0 -0
- package/assets/screenshots/console/operate-runs.dark.3bf1250f1f59.png +0 -0
- package/assets/screenshots/console/{operate-runs.light.bccafcd93196.png → operate-runs.light.235f6baf6f3d.png} +0 -0
- package/assets/screenshots/console/page-editor.light.3ec1f9d43475.png +0 -0
- package/assets/screenshots/console/queries-editor.dark.ee99f9050a23.png +0 -0
- package/assets/screenshots/console/queries-editor.light.67bd22086115.png +0 -0
- package/assets/screenshots/console/queries-parameters.light.c471d505bbd1.png +0 -0
- package/assets/screenshots/console/{releases-review.dark.34ec540432dc.png → releases-review.dark.091d815aa9c9.png} +0 -0
- package/{dist/assets/screenshots/console/releases-review.light.7f7eea72fc90.png → assets/screenshots/console/releases-review.light.a440c30d08b2.png} +0 -0
- package/{dist/assets/screenshots/console/script-settings-tab.dark.976df3a2aaf0.png → assets/screenshots/console/script-settings-tab.dark.5e96eedd9889.png} +0 -0
- package/assets/screenshots/console/{scripts-test-pane.dark.6112678956ed.png → scripts-test-pane.dark.63dcff509936.png} +0 -0
- package/assets/screenshots/console/{scripts-test-pane.light.2e1b637a8c7a.png → scripts-test-pane.light.bcef48f905b0.png} +0 -0
- package/assets/screenshots/console/table-definition.light.b97883e1b6e0.png +0 -0
- package/assets/screenshots/console/table-help.dark.da3a47215e6b.png +0 -0
- package/assets/screenshots/console/table-help.light.07c67e63ef2e.png +0 -0
- package/assets/screenshots/console/table-rows-filtered.dark.c61524c872a5.png +0 -0
- package/assets/screenshots/console/table-rows-filtered.light.787e71f743dd.png +0 -0
- package/assets/screenshots/console/table-rows.dark.19e2afeb688e.png +0 -0
- package/assets/screenshots/console/table-rows.light.a9249d7b9bd5.png +0 -0
- package/assets/screenshots/console/tut-visit-mix.dark.f1dd71da8937.png +0 -0
- package/{dist/assets/screenshots/console/widgets-chart-scatter.light.e57e41675d8d.png → assets/screenshots/console/widgets-chart-scatter.light.85ea38faaed8.png} +0 -0
- package/assets/screenshots/console/widgets-phone-page.dark.360a39e459c7.png +0 -0
- package/{dist/assets/screenshots/console/workspace-settings.light.3ac3bbfd9f4e.png → assets/screenshots/console/workspace-settings.light.c56e7f5d80f8.png} +0 -0
- package/assets/screenshots/docs/draft-conflict.dark.597b616abec7.png +0 -0
- package/assets/screenshots/docs/draft-conflict.light.6d326a37e8bc.png +0 -0
- package/assets/screenshots/docs/page-details-type.dark.2e382c8f131e.png +0 -0
- package/assets/screenshots/index.json +94 -94
- package/assets/screenshots/self-host/extensions-component-kit.dark.ba673f636a8f.png +0 -0
- package/assets/screenshots/self-host/extensions-component-kit.light.282da6a4c589.png +0 -0
- package/assets/screenshots/self-host/instance-audit.dark.21de79247590.png +0 -0
- package/assets/screenshots/self-host/instance-audit.light.dba4eaa712ed.png +0 -0
- package/assets/screenshots/self-host/instance-branding.dark.0ddd4c2df652.png +0 -0
- package/assets/screenshots/self-host/instance-branding.light.c3b7ffef6d4e.png +0 -0
- package/assets/screenshots/self-host/instance-databases.dark.dd2403f84456.png +0 -0
- package/assets/screenshots/self-host/instance-databases.light.3248546636cf.png +0 -0
- package/assets/screenshots/self-host/instance-health.dark.5791805f72b7.png +0 -0
- package/assets/screenshots/self-host/instance-health.light.cbfad910fc8e.png +0 -0
- package/assets/screenshots/self-host/instance-import-check.dark.11ccf001d9f8.png +0 -0
- package/assets/screenshots/self-host/instance-import-check.light.efbbef163d80.png +0 -0
- package/assets/screenshots/self-host/instance-members.dark.d9fa55d364fd.png +0 -0
- package/assets/screenshots/self-host/instance-members.light.7af6bfa48914.png +0 -0
- package/assets/screenshots/self-host/instance-operators.dark.1326e9460224.png +0 -0
- package/assets/screenshots/self-host/instance-operators.light.3f2cac001fb5.png +0 -0
- package/assets/screenshots/self-host/instance-tenants.dark.ba860dc98c90.png +0 -0
- package/assets/screenshots/self-host/instance-tenants.light.6a63877c41b3.png +0 -0
- package/assets/screenshots/self-host/instance-triggers.dark.f2bba07895f2.png +0 -0
- package/assets/screenshots/self-host/instance-triggers.light.dddb827e214a.png +0 -0
- package/assets/screenshots/start/basics-finding-your-way.dark.5cc80a2d591f.png +0 -0
- package/assets/screenshots/start/basics-finding-your-way.light.dddf72e4ad38.png +0 -0
- package/assets/screenshots/start/tut-approve-step.dark.5b773354ba35.png +0 -0
- package/assets/screenshots/start/tut-approve-step.light.b0224c9b1133.png +0 -0
- package/assets/screenshots/start/visit-notes-filtered.dark.f6fb7a707e2f.png +0 -0
- package/assets/screenshots/start/visit-notes-filtered.light.a4b4d64a7fc2.png +0 -0
- package/content/administer/explanation/sso/how-single-sign-on-works.md +2 -0
- package/content/administer/how-to/access/invite-end-users.md +8 -0
- package/content/administer/how-to/access/rule-rows-by-group-or-attribute.md +7 -0
- package/content/administer/how-to/apps/give-an-app-a-hostname.md +1 -1
- package/content/administer/how-to/sso/provision-people-with-scim.md +1 -1
- package/content/administer/reference/screens/branding.md +1 -1
- package/content/administer/reference/screens/end-users.md +3 -1
- package/content/administer/reference/screens/overview.md +21 -0
- package/content/administer/reference/screens/retention.md +3 -2
- package/content/administer/reference/screens/single-sign-on.md +1 -1
- package/content/console/how-to/app-builder/publish-an-app.md +0 -1
- package/content/console/how-to/data/row-rules.md +1 -0
- package/content/console/reference/screens/build/published-apps.md +1 -2
- package/content/console/reference/screens/data/tables.md +1 -1
- package/content/console/reference/screens/home/tenants.md +1 -1
- package/content/develop/explanation/api/how-the-api-knows-who-is-calling.md +10 -3
- package/content/develop/explanation/apps/app-access.md +29 -10
- package/content/develop/explanation/scripts/how-scripts-run.md +1 -1
- package/content/develop/how-to/apps/write-an-app.md +1 -1
- package/content/develop/how-to/cli/install-from-source.md +1 -1
- package/content/develop/how-to/cli/install-the-cli.md +1 -1
- package/content/develop/how-to/cli/test-a-script.md +1 -1
- package/content/develop/how-to/configure/set-up-from-a-script.md +1 -1
- package/content/develop/reference/access/mcp.md +11 -1
- package/content/develop/reference/apps/app-client.md +10 -8
- package/content/develop/reference/apps/content-policy.md +8 -3
- package/content/develop/reference/queries/data-as-code.md +12 -0
- package/content/develop/reference/tenant-widgets/what-a-view-is-given.md +1 -1
- package/content/develop/tutorials/cli/quickstart.md +1 -1
- package/content/self-host/explanation/access/index.md +1 -0
- package/content/self-host/explanation/access/instance-service-accounts.md +66 -0
- package/content/self-host/explanation/access/who-runs-what.md +2 -0
- package/content/self-host/explanation/running/architecture.md +1 -1
- package/content/self-host/explanation/running/egress-and-offline.md +1 -1
- package/content/self-host/explanation/running/managed-workers-and-isolation.md +35 -8
- package/content/self-host/explanation/running/security-hardening.md +9 -8
- package/content/self-host/explanation/running/sizing-and-scaling.md +29 -0
- package/content/self-host/how-to/instance/moving-a-tenant.md +12 -0
- package/content/self-host/how-to/running/back-up-an-instance.md +1 -1
- package/content/self-host/how-to/running/build-the-image.md +1 -1
- package/content/self-host/how-to/running/install-on-fly.md +27 -10
- package/content/self-host/how-to/running/install-with-compose.md +4 -4
- package/content/self-host/how-to/running/monitor-an-instance.md +2 -0
- package/content/self-host/how-to/running/put-a-proxy-in-front.md +7 -8
- package/content/self-host/how-to/running/restore-an-instance.md +34 -5
- package/content/self-host/how-to/running/run-a-standalone-worker.md +2 -2
- package/content/self-host/how-to/running/set-up-mail.md +13 -6
- package/content/self-host/reference/console/health.md +21 -1
- package/content/self-host/reference/running/configuration.md +1 -1
- package/content/self-host/reference/running/requirements.md +9 -2
- package/content/self-host/reference/running/retention.md +2 -1
- package/content/self-host/reference/running/troubleshooting.md +6 -1
- package/content/self-host/reference/running/versions-and-support.md +9 -1
- package/content/self-host/tutorials/install-on-one-machine.md +1 -1
- package/content/start/how-to/example/set-up-the-fernhill-example.md +26 -3
- package/content/start/index.md +11 -1
- package/content/start/reference/accessibility.md +35 -0
- package/content/start/reference/index.md +1 -0
- package/content/start/tutorials/index.md +6 -1
- package/content/start/tutorials/your-first-script.md +0 -1
- package/content/start/tutorials/your-first-table.md +2 -2
- package/dist/assets/screenshots/administer/access-changes.dark.5bf247ce0f19.png +0 -0
- package/dist/assets/screenshots/administer/access-changes.light.ed91948531ce.png +0 -0
- package/dist/assets/screenshots/administer/access-end-users.dark.4d9a5acba896.png +0 -0
- package/dist/assets/screenshots/administer/access-end-users.light.cef020771af1.png +0 -0
- package/dist/assets/screenshots/administer/access-groups.dark.aaf84e089c11.png +0 -0
- package/dist/assets/screenshots/administer/sso-audit-filters.dark.9aa82a2ac9c5.png +0 -0
- package/dist/assets/screenshots/administer/sso-audit-filters.light.5ecfdb651ace.png +0 -0
- package/dist/assets/screenshots/administer/{sso-branding-theme.dark.80bc3ce901a4.png → sso-branding-theme.dark.9a2c0482b3c2.png} +0 -0
- package/dist/assets/screenshots/administer/{sso-branding-theme.light.f48bd968481c.png → sso-branding-theme.light.7be432359625.png} +0 -0
- package/dist/assets/screenshots/administer/{sso-provider-setup.dark.8834ae797a50.png → sso-provider-setup.dark.bc7d126f135d.png} +0 -0
- package/dist/assets/screenshots/administer/sso-provider-setup.light.0cbda9279747.png +0 -0
- package/dist/assets/screenshots/administer/sso-workers-pools.dark.43f043620615.png +0 -0
- package/dist/assets/screenshots/administer/sso-workers-pools.light.25b0e09b2ff0.png +0 -0
- package/dist/assets/screenshots/console/account-sessions.dark.05dbf87d40a9.png +0 -0
- package/dist/assets/screenshots/console/account-sessions.light.2ef44c907ee5.png +0 -0
- package/{assets/screenshots/console/app-builder-list.dark.48340ac81e11.png → dist/assets/screenshots/console/app-builder-list.dark.124cca05b904.png} +0 -0
- package/{assets/screenshots/console/app-builder-list.light.85064d6742d4.png → dist/assets/screenshots/console/app-builder-list.light.082ae0464cbe.png} +0 -0
- package/{assets/screenshots/console/apps-list.dark.6580be4c6f17.png → dist/assets/screenshots/console/apps-list.dark.b24bb8a4fe8f.png} +0 -0
- package/{assets/screenshots/console/apps-list.light.35ac9711c9a0.png → dist/assets/screenshots/console/apps-list.light.fa8996fe55ff.png} +0 -0
- package/dist/assets/screenshots/console/{apps-share.dark.cf87c470cec4.png → apps-share.dark.0bb1a7899419.png} +0 -0
- package/{assets/screenshots/console/apps-share.light.eddc9c058c37.png → dist/assets/screenshots/console/apps-share.light.f26f075b3680.png} +0 -0
- package/dist/assets/screenshots/console/{basics-workspace-overview.dark.75d4329d6bd9.png → basics-workspace-overview.dark.678c40fa9f2a.png} +0 -0
- package/dist/assets/screenshots/console/{basics-workspace-overview.light.0a097241dfcb.png → basics-workspace-overview.light.86f7922860c9.png} +0 -0
- package/dist/assets/screenshots/console/configure-alerts-default.dark.8a2c534aa415.png +0 -0
- package/{assets/screenshots/console/configure-alerts.dark.3e4b58238bd2.png → dist/assets/screenshots/console/configure-alerts.dark.314fe8d7e0c6.png} +0 -0
- package/{assets/screenshots/console/configure-alerts.light.24608f63f849.png → dist/assets/screenshots/console/configure-alerts.light.ff5022a76eca.png} +0 -0
- package/dist/assets/screenshots/console/{configure-connection-sheet.dark.a8ae26d592fb.png → configure-connection-sheet.dark.41ba4383632c.png} +0 -0
- package/dist/assets/screenshots/console/configure-connections.dark.52147265a170.png +0 -0
- package/dist/assets/screenshots/console/{configure-connections.light.c3c1ec8eca52.png → configure-connections.light.8b15826634f1.png} +0 -0
- package/{assets/screenshots/console/dashboard-resource.dark.532f219609cc.png → dist/assets/screenshots/console/dashboard-resource.dark.4188f2810be1.png} +0 -0
- package/dist/assets/screenshots/console/dashboard-resource.light.8211fe9f380e.png +0 -0
- package/{assets/screenshots/console/dashboards-list.light.bb704dd75a30.png → dist/assets/screenshots/console/dashboards-list.light.438e3d23c888.png} +0 -0
- package/dist/assets/screenshots/console/extensions-editor.dark.4e5246f282e2.png +0 -0
- package/{assets/screenshots/console/extensions-list.light.f65bb930d029.png → dist/assets/screenshots/console/extensions-list.light.a1703d257ceb.png} +0 -0
- package/dist/assets/screenshots/console/flow-editor.dark.00229a94001e.png +0 -0
- package/dist/assets/screenshots/console/flow-editor.light.5eb68a339e84.png +0 -0
- package/dist/assets/screenshots/console/operate-approvals.light.1501cede2f94.png +0 -0
- package/dist/assets/screenshots/console/operate-cancel-by-age.dark.419042b822db.png +0 -0
- package/dist/assets/screenshots/console/operate-cancel-by-age.light.7d48915e9922.png +0 -0
- package/dist/assets/screenshots/console/operate-events.dark.2589975f7f46.png +0 -0
- package/dist/assets/screenshots/console/operate-events.light.c4d8d8ae8748.png +0 -0
- package/dist/assets/screenshots/console/operate-run-failed.dark.09addb030b58.png +0 -0
- package/dist/assets/screenshots/console/{operate-run-failed.light.482db87101aa.png → operate-run-failed.light.6163d2f9d3b3.png} +0 -0
- package/dist/assets/screenshots/console/operate-runs.dark.3bf1250f1f59.png +0 -0
- package/dist/assets/screenshots/console/{operate-runs.light.bccafcd93196.png → operate-runs.light.235f6baf6f3d.png} +0 -0
- package/dist/assets/screenshots/console/page-editor.light.3ec1f9d43475.png +0 -0
- package/dist/assets/screenshots/console/queries-editor.dark.ee99f9050a23.png +0 -0
- package/dist/assets/screenshots/console/queries-editor.light.67bd22086115.png +0 -0
- package/dist/assets/screenshots/console/queries-parameters.light.c471d505bbd1.png +0 -0
- package/dist/assets/screenshots/console/{releases-review.dark.34ec540432dc.png → releases-review.dark.091d815aa9c9.png} +0 -0
- package/{assets/screenshots/console/releases-review.light.7f7eea72fc90.png → dist/assets/screenshots/console/releases-review.light.a440c30d08b2.png} +0 -0
- package/{assets/screenshots/console/script-settings-tab.dark.976df3a2aaf0.png → dist/assets/screenshots/console/script-settings-tab.dark.5e96eedd9889.png} +0 -0
- package/dist/assets/screenshots/console/{scripts-test-pane.dark.6112678956ed.png → scripts-test-pane.dark.63dcff509936.png} +0 -0
- package/dist/assets/screenshots/console/{scripts-test-pane.light.2e1b637a8c7a.png → scripts-test-pane.light.bcef48f905b0.png} +0 -0
- package/dist/assets/screenshots/console/table-definition.light.b97883e1b6e0.png +0 -0
- package/dist/assets/screenshots/console/table-help.dark.da3a47215e6b.png +0 -0
- package/dist/assets/screenshots/console/table-help.light.07c67e63ef2e.png +0 -0
- package/dist/assets/screenshots/console/table-rows-filtered.dark.c61524c872a5.png +0 -0
- package/dist/assets/screenshots/console/table-rows-filtered.light.787e71f743dd.png +0 -0
- package/dist/assets/screenshots/console/table-rows.dark.19e2afeb688e.png +0 -0
- package/dist/assets/screenshots/console/table-rows.light.a9249d7b9bd5.png +0 -0
- package/dist/assets/screenshots/console/tut-visit-mix.dark.f1dd71da8937.png +0 -0
- package/{assets/screenshots/console/widgets-chart-scatter.light.e57e41675d8d.png → dist/assets/screenshots/console/widgets-chart-scatter.light.85ea38faaed8.png} +0 -0
- package/dist/assets/screenshots/console/widgets-phone-page.dark.360a39e459c7.png +0 -0
- package/{assets/screenshots/console/workspace-settings.light.3ac3bbfd9f4e.png → dist/assets/screenshots/console/workspace-settings.light.c56e7f5d80f8.png} +0 -0
- package/dist/assets/screenshots/docs/draft-conflict.dark.597b616abec7.png +0 -0
- package/dist/assets/screenshots/docs/draft-conflict.light.6d326a37e8bc.png +0 -0
- package/dist/assets/screenshots/docs/page-details-type.dark.2e382c8f131e.png +0 -0
- package/dist/assets/screenshots/self-host/extensions-component-kit.dark.ba673f636a8f.png +0 -0
- package/dist/assets/screenshots/self-host/extensions-component-kit.light.282da6a4c589.png +0 -0
- package/dist/assets/screenshots/self-host/instance-audit.dark.21de79247590.png +0 -0
- package/dist/assets/screenshots/self-host/instance-audit.light.dba4eaa712ed.png +0 -0
- package/dist/assets/screenshots/self-host/instance-branding.dark.0ddd4c2df652.png +0 -0
- package/dist/assets/screenshots/self-host/instance-branding.light.c3b7ffef6d4e.png +0 -0
- package/dist/assets/screenshots/self-host/instance-databases.dark.dd2403f84456.png +0 -0
- package/dist/assets/screenshots/self-host/instance-databases.light.3248546636cf.png +0 -0
- package/dist/assets/screenshots/self-host/instance-health.dark.5791805f72b7.png +0 -0
- package/dist/assets/screenshots/self-host/instance-health.light.cbfad910fc8e.png +0 -0
- package/dist/assets/screenshots/self-host/instance-import-check.dark.11ccf001d9f8.png +0 -0
- package/dist/assets/screenshots/self-host/instance-import-check.light.efbbef163d80.png +0 -0
- package/dist/assets/screenshots/self-host/instance-members.dark.d9fa55d364fd.png +0 -0
- package/dist/assets/screenshots/self-host/instance-members.light.7af6bfa48914.png +0 -0
- package/dist/assets/screenshots/self-host/instance-operators.dark.1326e9460224.png +0 -0
- package/dist/assets/screenshots/self-host/instance-operators.light.3f2cac001fb5.png +0 -0
- package/dist/assets/screenshots/self-host/instance-tenants.dark.ba860dc98c90.png +0 -0
- package/dist/assets/screenshots/self-host/instance-tenants.light.6a63877c41b3.png +0 -0
- package/dist/assets/screenshots/self-host/instance-triggers.dark.f2bba07895f2.png +0 -0
- package/dist/assets/screenshots/self-host/instance-triggers.light.dddb827e214a.png +0 -0
- package/dist/assets/screenshots/start/basics-finding-your-way.dark.5cc80a2d591f.png +0 -0
- package/dist/assets/screenshots/start/basics-finding-your-way.light.dddf72e4ad38.png +0 -0
- package/dist/assets/screenshots/start/tut-approve-step.dark.5b773354ba35.png +0 -0
- package/dist/assets/screenshots/start/tut-approve-step.light.b0224c9b1133.png +0 -0
- package/dist/assets/screenshots/start/visit-notes-filtered.dark.f6fb7a707e2f.png +0 -0
- package/dist/assets/screenshots/start/visit-notes-filtered.light.a4b4d64a7fc2.png +0 -0
- package/dist/fields.json +1 -1
- package/dist/manifest.json +1 -1
- package/dist/md/administer/explanation/sso/how-single-sign-on-works.md +2 -0
- package/dist/md/administer/how-to/access/invite-end-users.md +8 -0
- package/dist/md/administer/how-to/access/rule-rows-by-group-or-attribute.md +7 -0
- package/dist/md/administer/how-to/apps/give-an-app-a-hostname.md +1 -1
- package/dist/md/administer/how-to/sso/provision-people-with-scim.md +1 -1
- package/dist/md/administer/reference/audit-actions.md +1 -0
- package/dist/md/administer/reference/permissions.md +1 -0
- package/dist/md/administer/reference/screens/branding.md +1 -1
- package/dist/md/administer/reference/screens/end-users.md +3 -1
- package/dist/md/administer/reference/screens/overview.md +21 -0
- package/dist/md/administer/reference/screens/retention.md +3 -2
- package/dist/md/administer/reference/screens/single-sign-on.md +1 -1
- package/dist/md/console/how-to/app-builder/publish-an-app.md +0 -1
- package/dist/md/console/how-to/data/row-rules.md +1 -0
- package/dist/md/console/reference/screens/build/published-apps.md +1 -2
- package/dist/md/console/reference/screens/data/tables.md +1 -1
- package/dist/md/console/reference/screens/home/tenants.md +1 -1
- package/dist/md/develop/explanation/api/how-the-api-knows-who-is-calling.md +10 -3
- package/dist/md/develop/explanation/apps/app-access.md +29 -10
- package/dist/md/develop/explanation/scripts/how-scripts-run.md +1 -1
- package/dist/md/develop/how-to/apps/write-an-app.md +1 -1
- package/dist/md/develop/how-to/cli/install-from-source.md +1 -1
- package/dist/md/develop/how-to/cli/install-the-cli.md +1 -1
- package/dist/md/develop/how-to/cli/test-a-script.md +1 -1
- package/dist/md/develop/how-to/configure/set-up-from-a-script.md +1 -1
- package/dist/md/develop/reference/access/mcp.md +11 -1
- package/dist/md/develop/reference/api/agents.md +27 -1
- package/dist/md/develop/reference/api/apps.md +25 -1
- package/dist/md/develop/reference/api/end-users.md +71 -6
- package/dist/md/develop/reference/api/figures.md +160 -0
- package/dist/md/develop/reference/api/identity.md +318 -1
- package/dist/md/develop/reference/api/index.md +7 -6
- package/dist/md/develop/reference/api/instance.md +59 -1
- package/dist/md/develop/reference/api/permissions.md +13 -4
- package/dist/md/develop/reference/api/tenancy.md +13 -0
- package/dist/md/develop/reference/apps/app-client.md +10 -8
- package/dist/md/develop/reference/apps/content-policy.md +8 -3
- package/dist/md/develop/reference/errors.md +6 -0
- package/dist/md/develop/reference/kinds/dashboard.md +10 -0
- package/dist/md/develop/reference/kinds/interface.md +10 -0
- package/dist/md/develop/reference/kinds/widget.md +1 -1
- package/dist/md/develop/reference/queries/data-as-code.md +12 -0
- package/dist/md/develop/reference/sdk/sdk.md +1 -1
- package/dist/md/develop/reference/sdk/widgets-page.md +13 -0
- package/dist/md/develop/reference/sdk/widgets.md +2 -2
- package/dist/md/develop/reference/tenant-widgets/what-a-view-is-given.md +1 -1
- package/dist/md/develop/reference/widgets/chart.md +1 -1
- package/dist/md/develop/reference/widgets/goal.md +1 -1
- package/dist/md/develop/reference/widgets/pivot.md +1 -1
- package/dist/md/develop/reference/widgets/stat.md +1 -1
- package/dist/md/develop/tutorials/cli/quickstart.md +1 -1
- package/dist/md/self-host/explanation/access/index.md +1 -0
- package/dist/md/self-host/explanation/access/instance-service-accounts.md +66 -0
- package/dist/md/self-host/explanation/access/who-runs-what.md +2 -0
- package/dist/md/self-host/explanation/running/architecture.md +1 -1
- package/dist/md/self-host/explanation/running/egress-and-offline.md +1 -1
- package/dist/md/self-host/explanation/running/managed-workers-and-isolation.md +35 -8
- package/dist/md/self-host/explanation/running/security-hardening.md +9 -8
- package/dist/md/self-host/explanation/running/sizing-and-scaling.md +29 -0
- package/dist/md/self-host/how-to/instance/moving-a-tenant.md +12 -0
- package/dist/md/self-host/how-to/running/back-up-an-instance.md +1 -1
- package/dist/md/self-host/how-to/running/build-the-image.md +1 -1
- package/dist/md/self-host/how-to/running/install-on-fly.md +27 -10
- package/dist/md/self-host/how-to/running/install-with-compose.md +4 -4
- package/dist/md/self-host/how-to/running/monitor-an-instance.md +2 -0
- package/dist/md/self-host/how-to/running/put-a-proxy-in-front.md +7 -8
- package/dist/md/self-host/how-to/running/restore-an-instance.md +34 -5
- package/dist/md/self-host/how-to/running/run-a-standalone-worker.md +2 -2
- package/dist/md/self-host/how-to/running/set-up-mail.md +13 -6
- package/dist/md/self-host/reference/console/health.md +21 -1
- package/dist/md/self-host/reference/running/configuration.md +1 -1
- package/dist/md/self-host/reference/running/requirements.md +9 -2
- package/dist/md/self-host/reference/running/retention.md +2 -1
- package/dist/md/self-host/reference/running/troubleshooting.md +6 -1
- package/dist/md/self-host/reference/running/versions-and-support.md +9 -1
- package/dist/md/self-host/reference/settings.md +2 -2
- package/dist/md/self-host/tutorials/install-on-one-machine.md +1 -1
- package/dist/md/start/how-to/example/set-up-the-fernhill-example.md +26 -3
- package/dist/md/start/index.md +11 -1
- package/dist/md/start/reference/accessibility.md +35 -0
- package/dist/md/start/reference/changelog/0-7-0.md +208 -0
- package/dist/md/start/reference/index.md +1 -0
- package/dist/md/start/tutorials/index.md +6 -1
- package/dist/md/start/tutorials/your-first-script.md +0 -1
- package/dist/md/start/tutorials/your-first-table.md +2 -2
- package/dist/pages/administer/explanation/sso/how-single-sign-on-works.json +1 -1
- package/dist/pages/administer/how-to/access/invite-end-users.json +1 -1
- package/dist/pages/administer/how-to/access/rule-rows-by-group-or-attribute.json +1 -1
- package/dist/pages/administer/how-to/apps/give-an-app-a-hostname.json +1 -1
- package/dist/pages/administer/how-to/sso/provision-people-with-scim.json +1 -1
- package/dist/pages/administer/reference/audit-actions.json +1 -1
- package/dist/pages/administer/reference/permissions.json +1 -1
- package/dist/pages/administer/reference/screens/branding.json +1 -1
- package/dist/pages/administer/reference/screens/end-users.json +1 -1
- package/dist/pages/administer/reference/screens/overview.json +1 -1
- package/dist/pages/administer/reference/screens/retention.json +1 -1
- package/dist/pages/administer/reference/screens/single-sign-on.json +1 -1
- package/dist/pages/console/how-to/app-builder/publish-an-app.json +1 -1
- package/dist/pages/console/how-to/data/row-rules.json +1 -1
- package/dist/pages/console/reference/screens/build/published-apps.json +1 -1
- package/dist/pages/console/reference/screens/data/tables.json +1 -1
- package/dist/pages/console/reference/screens/home/tenants.json +1 -1
- package/dist/pages/develop/explanation/api/how-the-api-knows-who-is-calling.json +1 -1
- package/dist/pages/develop/explanation/apps/app-access.json +1 -1
- package/dist/pages/develop/explanation/scripts/how-scripts-run.json +1 -1
- package/dist/pages/develop/how-to/apps/write-an-app.json +1 -1
- package/dist/pages/develop/how-to/cli/install-from-source.json +1 -1
- package/dist/pages/develop/how-to/cli/install-the-cli.json +1 -1
- package/dist/pages/develop/how-to/cli/test-a-script.json +1 -1
- package/dist/pages/develop/how-to/configure/set-up-from-a-script.json +1 -1
- package/dist/pages/develop/reference/access/mcp.json +1 -1
- package/dist/pages/develop/reference/api/agents.json +1 -1
- package/dist/pages/develop/reference/api/apps.json +1 -1
- package/dist/pages/develop/reference/api/end-users.json +1 -1
- package/dist/pages/develop/reference/api/figures.json +1 -0
- package/dist/pages/develop/reference/api/identity.json +1 -1
- package/dist/pages/develop/reference/api/index.json +1 -1
- package/dist/pages/develop/reference/api/instance.json +1 -1
- package/dist/pages/develop/reference/api/permissions.json +1 -1
- package/dist/pages/develop/reference/api/tenancy.json +1 -1
- package/dist/pages/develop/reference/apps/app-client.json +1 -1
- package/dist/pages/develop/reference/apps/content-policy.json +1 -1
- package/dist/pages/develop/reference/errors.json +1 -1
- package/dist/pages/develop/reference/kinds/dashboard.json +1 -1
- package/dist/pages/develop/reference/kinds/interface.json +1 -1
- package/dist/pages/develop/reference/kinds/widget.json +1 -1
- package/dist/pages/develop/reference/queries/data-as-code.json +1 -1
- package/dist/pages/develop/reference/sdk/sdk.json +1 -1
- package/dist/pages/develop/reference/sdk/widgets-page.json +1 -1
- package/dist/pages/develop/reference/sdk/widgets.json +1 -1
- package/dist/pages/develop/reference/tenant-widgets/what-a-view-is-given.json +1 -1
- package/dist/pages/develop/reference/widgets/chart.json +1 -1
- package/dist/pages/develop/reference/widgets/goal.json +1 -1
- package/dist/pages/develop/reference/widgets/pivot.json +1 -1
- package/dist/pages/develop/reference/widgets/stat.json +1 -1
- package/dist/pages/develop/tutorials/cli/quickstart.json +1 -1
- package/dist/pages/self-host/explanation/access/index.json +1 -1
- package/dist/pages/self-host/explanation/access/instance-service-accounts.json +1 -0
- package/dist/pages/self-host/explanation/access/who-runs-what.json +1 -1
- package/dist/pages/self-host/explanation/running/architecture.json +1 -1
- package/dist/pages/self-host/explanation/running/egress-and-offline.json +1 -1
- package/dist/pages/self-host/explanation/running/managed-workers-and-isolation.json +1 -1
- package/dist/pages/self-host/explanation/running/security-hardening.json +1 -1
- package/dist/pages/self-host/explanation/running/sizing-and-scaling.json +1 -1
- package/dist/pages/self-host/how-to/instance/moving-a-tenant.json +1 -1
- package/dist/pages/self-host/how-to/running/back-up-an-instance.json +1 -1
- package/dist/pages/self-host/how-to/running/build-the-image.json +1 -1
- package/dist/pages/self-host/how-to/running/install-on-fly.json +1 -1
- package/dist/pages/self-host/how-to/running/install-with-compose.json +1 -1
- package/dist/pages/self-host/how-to/running/monitor-an-instance.json +1 -1
- package/dist/pages/self-host/how-to/running/put-a-proxy-in-front.json +1 -1
- package/dist/pages/self-host/how-to/running/restore-an-instance.json +1 -1
- package/dist/pages/self-host/how-to/running/run-a-standalone-worker.json +1 -1
- package/dist/pages/self-host/how-to/running/set-up-mail.json +1 -1
- package/dist/pages/self-host/reference/console/health.json +1 -1
- package/dist/pages/self-host/reference/running/configuration.json +1 -1
- package/dist/pages/self-host/reference/running/requirements.json +1 -1
- package/dist/pages/self-host/reference/running/retention.json +1 -1
- package/dist/pages/self-host/reference/running/troubleshooting.json +1 -1
- package/dist/pages/self-host/reference/running/versions-and-support.json +1 -1
- package/dist/pages/self-host/reference/settings.json +1 -1
- package/dist/pages/self-host/tutorials/install-on-one-machine.json +1 -1
- package/dist/pages/start/how-to/example/set-up-the-fernhill-example.json +1 -1
- package/dist/pages/start/index.json +1 -1
- package/dist/pages/start/reference/accessibility.json +1 -0
- package/dist/pages/start/reference/changelog/0-7-0.json +1 -0
- package/dist/pages/start/reference/index.json +1 -1
- package/dist/pages/start/tutorials/index.json +1 -1
- package/dist/pages/start/tutorials/your-first-script.json +1 -1
- package/dist/pages/start/tutorials/your-first-table.json +1 -1
- package/dist/redirects.json +1 -1
- package/dist/search.json +1 -1
- package/generated/administer/reference/audit-actions.md +1 -0
- package/generated/administer/reference/permissions.md +1 -0
- package/generated/develop/reference/api/agents.md +27 -1
- package/generated/develop/reference/api/apps.md +25 -1
- package/generated/develop/reference/api/end-users.md +71 -6
- package/generated/develop/reference/api/figures.md +160 -0
- package/generated/develop/reference/api/identity.md +318 -1
- package/generated/develop/reference/api/index.md +7 -6
- package/generated/develop/reference/api/instance.md +59 -1
- package/generated/develop/reference/api/permissions.md +13 -4
- package/generated/develop/reference/api/tenancy.md +13 -0
- package/generated/develop/reference/errors.md +6 -0
- package/generated/develop/reference/kinds/dashboard.md +10 -0
- package/generated/develop/reference/kinds/interface.md +10 -0
- package/generated/develop/reference/kinds/widget.md +1 -1
- package/generated/develop/reference/sdk/sdk.md +1 -1
- package/generated/develop/reference/sdk/widgets-page.md +13 -0
- package/generated/develop/reference/sdk/widgets.md +2 -2
- package/generated/develop/reference/widgets/chart.md +1 -1
- package/generated/develop/reference/widgets/goal.md +1 -1
- package/generated/develop/reference/widgets/pivot.md +1 -1
- package/generated/develop/reference/widgets/stat.md +1 -1
- package/generated/openapi.json +4899 -1734
- package/generated/self-host/reference/settings.md +2 -2
- package/generated/start/reference/changelog/0-7-0.md +208 -0
- package/package.json +11 -6
- package/assets/screenshots/administer/access-changes.dark.5b3255fafe5c.png +0 -0
- package/assets/screenshots/administer/access-changes.light.cff6913107a3.png +0 -0
- package/assets/screenshots/administer/access-end-users.dark.c0d4e526952b.png +0 -0
- package/assets/screenshots/administer/access-end-users.light.b3368747a4d3.png +0 -0
- package/assets/screenshots/administer/access-groups.dark.bff155b79a2c.png +0 -0
- package/assets/screenshots/administer/sso-audit-filters.dark.b6a4dc01aa2c.png +0 -0
- package/assets/screenshots/administer/sso-audit-filters.light.1a295f8a94ff.png +0 -0
- package/assets/screenshots/administer/sso-provider-setup.light.b7e337ee30fb.png +0 -0
- package/assets/screenshots/administer/sso-workers-pools.dark.2270cb13aaab.png +0 -0
- package/assets/screenshots/administer/sso-workers-pools.light.1efebb29f50c.png +0 -0
- package/assets/screenshots/console/account-sessions.dark.678e11711e06.png +0 -0
- package/assets/screenshots/console/account-sessions.light.d742e8f3d3d1.png +0 -0
- package/assets/screenshots/console/configure-alerts-default.dark.425955f71c50.png +0 -0
- package/assets/screenshots/console/configure-connections.dark.7b64ffab4c8c.png +0 -0
- package/assets/screenshots/console/dashboard-resource.light.55b36abe8e0e.png +0 -0
- package/assets/screenshots/console/extensions-editor.dark.ebb816369d53.png +0 -0
- package/assets/screenshots/console/flow-editor.dark.caab11f209cb.png +0 -0
- package/assets/screenshots/console/flow-editor.light.bfc7e6b366dc.png +0 -0
- package/assets/screenshots/console/operate-approvals.light.36987d0a4c62.png +0 -0
- package/assets/screenshots/console/operate-cancel-by-age.dark.2786b42ecfbe.png +0 -0
- package/assets/screenshots/console/operate-cancel-by-age.light.8ef6601ebbe7.png +0 -0
- package/assets/screenshots/console/operate-events.dark.7067e88d771e.png +0 -0
- package/assets/screenshots/console/operate-events.light.b58a8c7f0b04.png +0 -0
- package/assets/screenshots/console/operate-run-failed.dark.eb8c52a9fcf7.png +0 -0
- package/assets/screenshots/console/operate-runs.dark.ae45d93820b3.png +0 -0
- package/assets/screenshots/console/page-editor.light.2023b176d1a0.png +0 -0
- package/assets/screenshots/console/queries-editor.dark.b0ef383c3b90.png +0 -0
- package/assets/screenshots/console/queries-editor.light.8e413390ad34.png +0 -0
- package/assets/screenshots/console/queries-parameters.light.9bca851e025c.png +0 -0
- package/assets/screenshots/console/table-definition.light.ff11cce13c18.png +0 -0
- package/assets/screenshots/console/table-help.dark.bc35e748426c.png +0 -0
- package/assets/screenshots/console/table-help.light.fb1b109ee396.png +0 -0
- package/assets/screenshots/console/table-rows-filtered.dark.6fab42faa122.png +0 -0
- package/assets/screenshots/console/table-rows-filtered.light.aa9881d95f4d.png +0 -0
- package/assets/screenshots/console/table-rows.dark.4ce02d5478c9.png +0 -0
- package/assets/screenshots/console/table-rows.light.a1f7d91a9e77.png +0 -0
- package/assets/screenshots/console/tut-visit-mix.dark.724c62999f95.png +0 -0
- package/assets/screenshots/console/widgets-phone-page.dark.386738c3e5fb.png +0 -0
- package/assets/screenshots/docs/draft-conflict.dark.894a4f116020.png +0 -0
- package/assets/screenshots/docs/draft-conflict.light.c5187649da9a.png +0 -0
- package/assets/screenshots/docs/page-details-type.dark.26fda0943a41.png +0 -0
- package/assets/screenshots/self-host/extensions-component-kit.dark.95cf642b62b6.png +0 -0
- package/assets/screenshots/self-host/extensions-component-kit.light.d4d7ae43474d.png +0 -0
- package/assets/screenshots/self-host/instance-audit.dark.eabb7e1545a2.png +0 -0
- package/assets/screenshots/self-host/instance-audit.light.e0704c3e2f3c.png +0 -0
- package/assets/screenshots/self-host/instance-branding.dark.65706ba2f266.png +0 -0
- package/assets/screenshots/self-host/instance-branding.light.53ef9943efc1.png +0 -0
- package/assets/screenshots/self-host/instance-databases.dark.17e36475132c.png +0 -0
- package/assets/screenshots/self-host/instance-databases.light.6bd31df9f812.png +0 -0
- package/assets/screenshots/self-host/instance-health.dark.7ddc9725c6e5.png +0 -0
- package/assets/screenshots/self-host/instance-health.light.5d8697f0135a.png +0 -0
- package/assets/screenshots/self-host/instance-import-check.dark.b54f53b17e5e.png +0 -0
- package/assets/screenshots/self-host/instance-import-check.light.b33217f8efdf.png +0 -0
- package/assets/screenshots/self-host/instance-members.dark.3f319a2912d7.png +0 -0
- package/assets/screenshots/self-host/instance-members.light.3f90be8b0556.png +0 -0
- package/assets/screenshots/self-host/instance-operators.dark.fb0fcc88cc66.png +0 -0
- package/assets/screenshots/self-host/instance-operators.light.038f3f725bec.png +0 -0
- package/assets/screenshots/self-host/instance-tenants.dark.1f2501ef99c1.png +0 -0
- package/assets/screenshots/self-host/instance-tenants.light.9c1b997a9f5b.png +0 -0
- package/assets/screenshots/self-host/instance-triggers.dark.2c3cffed2649.png +0 -0
- package/assets/screenshots/self-host/instance-triggers.light.b0a06ee78d65.png +0 -0
- package/assets/screenshots/start/basics-finding-your-way.dark.05cc7d67b47c.png +0 -0
- package/assets/screenshots/start/basics-finding-your-way.light.45790efbcb57.png +0 -0
- package/assets/screenshots/start/tut-approve-step.dark.dc691e002e9e.png +0 -0
- package/assets/screenshots/start/tut-approve-step.light.9c219b4d2d1a.png +0 -0
- package/assets/screenshots/start/visit-notes-filtered.dark.f26ec0b4168c.png +0 -0
- package/assets/screenshots/start/visit-notes-filtered.light.841ac7004f1c.png +0 -0
- package/dist/assets/screenshots/administer/access-changes.dark.5b3255fafe5c.png +0 -0
- package/dist/assets/screenshots/administer/access-changes.light.cff6913107a3.png +0 -0
- package/dist/assets/screenshots/administer/access-end-users.dark.c0d4e526952b.png +0 -0
- package/dist/assets/screenshots/administer/access-end-users.light.b3368747a4d3.png +0 -0
- package/dist/assets/screenshots/administer/access-groups.dark.bff155b79a2c.png +0 -0
- package/dist/assets/screenshots/administer/sso-audit-filters.dark.b6a4dc01aa2c.png +0 -0
- package/dist/assets/screenshots/administer/sso-audit-filters.light.1a295f8a94ff.png +0 -0
- package/dist/assets/screenshots/administer/sso-provider-setup.light.b7e337ee30fb.png +0 -0
- package/dist/assets/screenshots/administer/sso-workers-pools.dark.2270cb13aaab.png +0 -0
- package/dist/assets/screenshots/administer/sso-workers-pools.light.1efebb29f50c.png +0 -0
- package/dist/assets/screenshots/console/account-sessions.dark.678e11711e06.png +0 -0
- package/dist/assets/screenshots/console/account-sessions.light.d742e8f3d3d1.png +0 -0
- package/dist/assets/screenshots/console/configure-alerts-default.dark.425955f71c50.png +0 -0
- package/dist/assets/screenshots/console/configure-connections.dark.7b64ffab4c8c.png +0 -0
- package/dist/assets/screenshots/console/dashboard-resource.light.55b36abe8e0e.png +0 -0
- package/dist/assets/screenshots/console/extensions-editor.dark.ebb816369d53.png +0 -0
- package/dist/assets/screenshots/console/flow-editor.dark.caab11f209cb.png +0 -0
- package/dist/assets/screenshots/console/flow-editor.light.bfc7e6b366dc.png +0 -0
- package/dist/assets/screenshots/console/operate-approvals.light.36987d0a4c62.png +0 -0
- package/dist/assets/screenshots/console/operate-cancel-by-age.dark.2786b42ecfbe.png +0 -0
- package/dist/assets/screenshots/console/operate-cancel-by-age.light.8ef6601ebbe7.png +0 -0
- package/dist/assets/screenshots/console/operate-events.dark.7067e88d771e.png +0 -0
- package/dist/assets/screenshots/console/operate-events.light.b58a8c7f0b04.png +0 -0
- package/dist/assets/screenshots/console/operate-run-failed.dark.eb8c52a9fcf7.png +0 -0
- package/dist/assets/screenshots/console/operate-runs.dark.ae45d93820b3.png +0 -0
- package/dist/assets/screenshots/console/page-editor.light.2023b176d1a0.png +0 -0
- package/dist/assets/screenshots/console/queries-editor.dark.b0ef383c3b90.png +0 -0
- package/dist/assets/screenshots/console/queries-editor.light.8e413390ad34.png +0 -0
- package/dist/assets/screenshots/console/queries-parameters.light.9bca851e025c.png +0 -0
- package/dist/assets/screenshots/console/table-definition.light.ff11cce13c18.png +0 -0
- package/dist/assets/screenshots/console/table-help.dark.bc35e748426c.png +0 -0
- package/dist/assets/screenshots/console/table-help.light.fb1b109ee396.png +0 -0
- package/dist/assets/screenshots/console/table-rows-filtered.dark.6fab42faa122.png +0 -0
- package/dist/assets/screenshots/console/table-rows-filtered.light.aa9881d95f4d.png +0 -0
- package/dist/assets/screenshots/console/table-rows.dark.4ce02d5478c9.png +0 -0
- package/dist/assets/screenshots/console/table-rows.light.a1f7d91a9e77.png +0 -0
- package/dist/assets/screenshots/console/tut-visit-mix.dark.724c62999f95.png +0 -0
- package/dist/assets/screenshots/console/widgets-phone-page.dark.386738c3e5fb.png +0 -0
- package/dist/assets/screenshots/docs/draft-conflict.dark.894a4f116020.png +0 -0
- package/dist/assets/screenshots/docs/draft-conflict.light.c5187649da9a.png +0 -0
- package/dist/assets/screenshots/docs/page-details-type.dark.26fda0943a41.png +0 -0
- package/dist/assets/screenshots/self-host/extensions-component-kit.dark.95cf642b62b6.png +0 -0
- package/dist/assets/screenshots/self-host/extensions-component-kit.light.d4d7ae43474d.png +0 -0
- package/dist/assets/screenshots/self-host/instance-audit.dark.eabb7e1545a2.png +0 -0
- package/dist/assets/screenshots/self-host/instance-audit.light.e0704c3e2f3c.png +0 -0
- package/dist/assets/screenshots/self-host/instance-branding.dark.65706ba2f266.png +0 -0
- package/dist/assets/screenshots/self-host/instance-branding.light.53ef9943efc1.png +0 -0
- package/dist/assets/screenshots/self-host/instance-databases.dark.17e36475132c.png +0 -0
- package/dist/assets/screenshots/self-host/instance-databases.light.6bd31df9f812.png +0 -0
- package/dist/assets/screenshots/self-host/instance-health.dark.7ddc9725c6e5.png +0 -0
- package/dist/assets/screenshots/self-host/instance-health.light.5d8697f0135a.png +0 -0
- package/dist/assets/screenshots/self-host/instance-import-check.dark.b54f53b17e5e.png +0 -0
- package/dist/assets/screenshots/self-host/instance-import-check.light.b33217f8efdf.png +0 -0
- package/dist/assets/screenshots/self-host/instance-members.dark.3f319a2912d7.png +0 -0
- package/dist/assets/screenshots/self-host/instance-members.light.3f90be8b0556.png +0 -0
- package/dist/assets/screenshots/self-host/instance-operators.dark.fb0fcc88cc66.png +0 -0
- package/dist/assets/screenshots/self-host/instance-operators.light.038f3f725bec.png +0 -0
- package/dist/assets/screenshots/self-host/instance-tenants.dark.1f2501ef99c1.png +0 -0
- package/dist/assets/screenshots/self-host/instance-tenants.light.9c1b997a9f5b.png +0 -0
- package/dist/assets/screenshots/self-host/instance-triggers.dark.2c3cffed2649.png +0 -0
- package/dist/assets/screenshots/self-host/instance-triggers.light.b0a06ee78d65.png +0 -0
- package/dist/assets/screenshots/start/basics-finding-your-way.dark.05cc7d67b47c.png +0 -0
- package/dist/assets/screenshots/start/basics-finding-your-way.light.45790efbcb57.png +0 -0
- package/dist/assets/screenshots/start/tut-approve-step.dark.dc691e002e9e.png +0 -0
- package/dist/assets/screenshots/start/tut-approve-step.light.9c219b4d2d1a.png +0 -0
- package/dist/assets/screenshots/start/visit-notes-filtered.dark.f26ec0b4168c.png +0 -0
- package/dist/assets/screenshots/start/visit-notes-filtered.light.841ac7004f1c.png +0 -0
|
@@ -15,11 +15,12 @@ Every page and file of an app of files or of an interface is served with one con
|
|
|
15
15
|
| `style-src` | `'self' 'unsafe-inline'` | Stylesheets are the app's own. Inline styles are allowed, because components set styles on elements. |
|
|
16
16
|
| `img-src` | `'self' data: blob:` | Images are the app's own, a `data:` address or a `blob:`. No image from another site. |
|
|
17
17
|
| `font-src` | `'self' data:` | Fonts are the app's own or a `data:` address. A font from a font service is refused. |
|
|
18
|
-
| `connect-src` | `'self'` | `fetch
|
|
18
|
+
| `connect-src` | `'self'` | `fetch` and XHR reach the app's own address only: the API at `/api/v1` and nothing else. |
|
|
19
19
|
| `object-src` | `'none'` | No plug-ins. |
|
|
20
20
|
| `base-uri` | `'self'` | |
|
|
21
21
|
| `form-action` | `'self'` | A form posts to the app's own address. |
|
|
22
22
|
| `frame-ancestors` | `'self'` | The app can be framed by the app's own address only. |
|
|
23
|
+
| `sandbox` | `allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-downloads allow-modals` | On every page of an app written as code, at every address. There is no `allow-same-origin`, so the page has no origin: no cookie, no `localStorage` or `sessionStorage`, and it cannot read another page. Apps made in the console are not sandboxed. |
|
|
23
24
|
|
|
24
25
|
Each response also has `x-content-type-options: nosniff` and `referrer-policy: same-origin`.
|
|
25
26
|
|
|
@@ -33,7 +34,7 @@ A site of documentation is served under a policy of its own. It differs in two d
|
|
|
33
34
|
|
|
34
35
|
An app can be served under a path (`/apps/<tenant>/<workspace>/<app>/`) or at the root of a hostname, so write addresses relative to the app. The instance puts `<base href="…">` in the page, so a link such as `href="#x"` resolves to the app's root and not to the page's address. Use `location.hash` for in-page state, and build every address from `appContext().base`. A hard-coded `/logo.png` fails under a path.
|
|
35
36
|
|
|
36
|
-
|
|
37
|
+
An app made in the console uses a cookie, a session and a CSRF check on the app's own address: a request that changes anything with a cookie and comes from another origin is refused with 403 `cross_site`. A page of an app written as code has no cookie and sends `Origin: null`. It calls the API with its app token, and the API answers it with `access-control-allow-origin: *` and never allows credentials.
|
|
37
38
|
|
|
38
39
|
## Which address answers the page
|
|
39
40
|
|
|
@@ -44,6 +45,10 @@ A cookie, a session and a CSRF check are on the app's own address: a request tha
|
|
|
44
45
|
| No file, and the app's `fallback` is not `false`, and the browser asks for HTML or the last part has no dot | The page, so an app can route in the browser. A screen with a dot, such as `/users/j.smith`, is answered with the page when the browser asks for HTML. |
|
|
45
46
|
| Anything else | 404. |
|
|
46
47
|
|
|
48
|
+
## Files of an app written as code
|
|
49
|
+
|
|
50
|
+
The scripts, styles, fonts and pictures of an app written as code are served without a sign-in, at `/_apps/<tenant>/<workspace>/<hash>/<file>`. The hash is made from the paths and content of all of the app's files. These files are public and immutable, with a year's `cache-control`. A file's ordinary path under the app answers with a redirect (302) to that address. Only a page needs a sign-in. A file served like this holds nothing a visitor may not see, so it must hold no secret.
|
|
51
|
+
|
|
47
52
|
## Caching
|
|
48
53
|
|
|
49
54
|
| What | `cache-control` |
|
|
@@ -59,7 +64,7 @@ Name a file that changes at a deploy so that it does not look like a hash, and l
|
|
|
59
64
|
The instance adds these to the page named by `entry`, before it is sent:
|
|
60
65
|
|
|
61
66
|
- `<base href>`, the app's address.
|
|
62
|
-
- `<script type="application/json" id="vx-context">`, which `appContext()` reads: `api`, `tenant`, `workspace`, `app`, `base`, `portal` and `principal`. It is JSON in an element the browser does not run, so the page needs no inline script.
|
|
67
|
+
- `<script type="application/json" id="vx-context">`, which `appContext()` reads: `api`, `tenant`, `workspace`, `app`, `base`, `portal` and `principal`, and, for an app written as code, `token`. It is JSON in an element the browser does not run, so the page needs no inline script.
|
|
63
68
|
- A stylesheet of the theme: the kit's, then the tenant's, then the workspace's. A value set for light does not carry to dark.
|
|
64
69
|
- The tenant's icons, unless the app names its own with a `<link rel="icon">`.
|
|
65
70
|
|
|
@@ -119,6 +119,18 @@ A dashboard file is `schemaVersion: 3`. Its body is `title`, `description`, `ref
|
|
|
119
119
|
| `visual` | A table, built from menus | See [Visual queries](../../../console/reference/queries/visual-queries). |
|
|
120
120
|
| `query` | A saved query, by path, with `values` for its parameters by name | The path is recorded with the query's key when the dashboard is deployed, so a rename does not break it. |
|
|
121
121
|
| `sql` | SQL written in the widget, with `values` for `$1`, `$2` | On a dashboard only. A save from the console needs `sql:read` of whoever saves it. A repository deploy is not asked. |
|
|
122
|
+
| `figures` | The tenant's figures: how its runs, requests and refusals went, and why runs waited | A Chart, Stat, Goal or Pivot, on a dashboard only. Read for a member who holds `figures:read` in the tenant; without it the widget says the permission is missing. Not offered in the console's source picker: write it in the file. See below. |
|
|
123
|
+
|
|
124
|
+
A `figures` source is `{ names, every, by, scope }`:
|
|
125
|
+
|
|
126
|
+
| Field | Meaning |
|
|
127
|
+
| --- | --- |
|
|
128
|
+
| `names` | One to six figures, such as `runs.started`, `runs.failed` or `requests.count`. Each figure's meaning is in the figures API (`GET /tenants/:t/figures`). |
|
|
129
|
+
| `every` | The length of each period: `5m`, `hour`, `day`, or `all` for one number over the whole span. `hour` when left out. |
|
|
130
|
+
| `scope` | `workspace` for this workspace's figures (the default), or `tenant` for the whole tenant's. |
|
|
131
|
+
| `by` | `workspace`, to give a row for each workspace in each period. Needs `scope: tenant`. |
|
|
132
|
+
|
|
133
|
+
The span is the page's range of dates when a **date range** filter is bound to the input (`filters: [{ filter: when }]`, or with `column: at`), and the last 24 hours otherwise. A chart is broken down by the period, so it needs `every` other than `all`, or `by`; a Stat or a Goal is one number, so one figure with `every: all`; a Pivot needs the period and `by`. A range is read for at most 400 days and 2000 periods.
|
|
122
134
|
|
|
123
135
|
The same dashboard in TypeScript is `defineDashboard`, which takes `path`, `title`, `description`, `refresh` and `widgets` as above:
|
|
124
136
|
|
|
@@ -21,7 +21,7 @@ A widget added in the builder starts with the definition's `defaults`. A setting
|
|
|
21
21
|
| `rows` | `columns` and `rows`. |
|
|
22
22
|
| `summary` | `columns`, `breakdowns` (the names of the columns that are breakdowns), `values` (the names of the value columns), `rows`, and where the input has them `previous`, `measures`, `buckets`, `span` and `trend`. |
|
|
23
23
|
| `record` | `columns`, and `record`: one row or `null`. |
|
|
24
|
-
| `approvals` | `waiting` and `decided` (each step with its flow, fields and whether the viewer may decide it), `more`, and `decideIn
|
|
24
|
+
| `approvals` | `waiting` and `decided` (each step with its flow, fields and whether the viewer may decide it), `more`, and `decideIn`, which an instance that decides requests in the console would send. This instance does not send it: requests are decided in the app. |
|
|
25
25
|
|
|
26
26
|
A column in `columns` has a `name`, a `label`, and a `type` (`text`, `integer`, `number`, `boolean`, `date`, `timestamp`, `enum`, `reference`, `json` or `uuid`), and may have a `description`, the `values` of an enum with their colors, `required`, `default` and, for a reference, the `references` table.
|
|
27
27
|
|
|
@@ -9,7 +9,7 @@ You will have a repository on your machine with one script, one table, one sched
|
|
|
9
9
|
## Before you start
|
|
10
10
|
|
|
11
11
|
- The `volvel` command is installed. See [Install the command line](../../how-to/cli/install-the-cli). From 0.6.0 it is `npm install --global @volvel/cli`.
|
|
12
|
-
- Node
|
|
12
|
+
- Node 26 or later.
|
|
13
13
|
- You can sign in to the console as Maya Brooks, `maya.brooks@fernhill.example`, the tenant admin of Fernhill, on an instance where Fernhill is set up. The instance's address is written `<instance>` below; the examples use `http://localhost:8091`. A tenant admin may do everything in this tutorial. See the [permissions reference](../../../administer/reference/permissions) for what each step needs. See [Set up the Fernhill example](../../../start/how-to/example/set-up-the-fernhill-example).
|
|
14
14
|
- The instance has a worker that runs scripts. If it has none, a run waits and never starts.
|
|
15
15
|
- A terminal and a browser.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Service accounts of the instance
|
|
3
|
+
topic: volvel-instance-service-accounts
|
|
4
|
+
description: "A key that is not a person and belongs to no tenant: its two roles, what it can never do, its keys, how it gets into a tenant, and the instance's MCP endpoint."
|
|
5
|
+
subjects: [access, operators, agents]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
A **service account of the instance** is an identity for a program, not a person, that belongs to the instance and to no tenant. Use one when something must watch or run routine work across the instance without an operator's own API key: a monitor that reads every tenant's health, or an agent that answers "why are runs waiting?".
|
|
9
|
+
|
|
10
|
+
Only operators make them, in **Instance** under **Service accounts**. An instance account never signs in to the console. It acts through API keys, and everything it does is audited under its own name.
|
|
11
|
+
|
|
12
|
+
## Two roles at the instance
|
|
13
|
+
|
|
14
|
+
An instance account holds a role bound at the instance, as an operator does. Two built-in roles are for it:
|
|
15
|
+
|
|
16
|
+
| Role | What it holds |
|
|
17
|
+
| --- | --- |
|
|
18
|
+
| `instance_reader` | Reads the instance's settings and health, and every tenant's figures. Changes nothing. |
|
|
19
|
+
| `instance_operator` | The routine work of an operator, such as pausing triggers. |
|
|
20
|
+
|
|
21
|
+
An operator gives an instance account only roles the operator holds.
|
|
22
|
+
|
|
23
|
+
## What it can never do
|
|
24
|
+
|
|
25
|
+
Whatever role it holds, an instance account is refused at the instance anything that would let a key make keys or power: writing bindings, access grants, members, roles or service accounts. A leaked key therefore cannot make more keys or widen itself. Reading these is allowed where the role reads them.
|
|
26
|
+
|
|
27
|
+
Its instance roles also never reach inside a tenant. To a tenant it has no standing: the tenant is not there to it, and the answer is 404.
|
|
28
|
+
|
|
29
|
+
## Keys
|
|
30
|
+
|
|
31
|
+
An account has API keys, each shown once when made. An instance key always ends: when no date is given it ends 90 days from now, and it may end at most 365 days from now. The list shows each key's expiry and last use, and a key can be revoked. Turning the account off stops it and every key it has at once. Deleting the account removes it.
|
|
32
|
+
|
|
33
|
+
The routes are `GET` and `POST /instance/service-accounts`, `GET`, `PATCH` and `DELETE /instance/service-accounts/{id}`, `GET` and `POST /instance/service-accounts/{id}/api-keys`, and `DELETE /instance/service-accounts/{id}/api-keys/{keyId}`. Reading needs `instance:read`; changing needs `binding:write`, which operators hold.
|
|
34
|
+
|
|
35
|
+
## How it gets into a tenant
|
|
36
|
+
|
|
37
|
+
There are two ways, and neither uses its instance roles.
|
|
38
|
+
|
|
39
|
+
- **An operator's access grant.** The operator opens a grant for the account: `POST /tenants/{t}/access-grants` with `serviceAccountId`, a reason and a duration, as for the operator's own grant. It is time-limited, the tenant's admins see it and every request made under it, and each request is audited as operator access, under the account's name. It ends when it expires, when it is deleted, or when the account is turned off. A grant cannot be opened for an account that is turned off.
|
|
40
|
+
- **The tenant's own binding.** A tenant admin binds the instance account to a role in the tenant, as for a member. It is standing, it shows on the tenant's access screen, and the tenant can revoke it. The tenant's pickers offer instance accounts marked as belonging to the instance.
|
|
41
|
+
|
|
42
|
+
Where it holds a role in a tenant, the [workspace's MCP endpoint](../../../develop/reference/access/mcp) works for it there, with the tools that role allows.
|
|
43
|
+
|
|
44
|
+
## The instance's MCP endpoint
|
|
45
|
+
|
|
46
|
+
```text
|
|
47
|
+
POST /api/v1/mcp
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
An MCP server named `volvel:instance`, for a key holding `instance:read`: an instance account's, or an operator's own. With no key the answer is 401; a key without `instance:read`, such as a tenant's own service account, gets 403. Streamable HTTP, with no session.
|
|
51
|
+
|
|
52
|
+
| Tool | What it does |
|
|
53
|
+
| --- | --- |
|
|
54
|
+
| `get_instance_health` | The instance's health: database, object store, migrations, workers, waiting runs, late background steps and the tenants that are not well, with what to do. |
|
|
55
|
+
| `list_tenants` | Tenants by slug with each one's status (`ok`, `waiting`, `failing`). Takes `search` and `limit` (up to 200). |
|
|
56
|
+
| `get_tenant_health` | One tenant's health now. Takes `tenant`, a slug or an ID. |
|
|
57
|
+
| `get_tenant_figures` | One tenant's figures. Takes `tenant`, `names`, `every`, `hours` (1 to 720) and `by` (`workspace`). |
|
|
58
|
+
| `get_instance_figures` | Every tenant's figures together. Takes `names`, `every`, `hours` and `by` (`tenant`). |
|
|
59
|
+
| `why_runs_wait` | One tenant's waiting runs: what its health says to do, how many are due and for how long, and the last hour's waits for no slot, fair share, memory and the workspace limit. Takes `tenant`. |
|
|
60
|
+
|
|
61
|
+
Figures and health are the instance's data: counts and times, never a row, an input or an output. `instance:read` is enough to read them in every tenant, with no access grant. The tools offer nothing inside a tenant.
|
|
62
|
+
|
|
63
|
+
## Related
|
|
64
|
+
|
|
65
|
+
- [Who runs what](who-runs-what).
|
|
66
|
+
- [The MCP endpoint](../../../develop/reference/access/mcp).
|
|
@@ -20,6 +20,8 @@ A binding at the instance never reaches inside a tenant. An operator gets into a
|
|
|
20
20
|
|
|
21
21
|
This is a decision about who is trusted with what: the operator runs the machine but is not given the tenant's data by being an operator. One exception is the operator's own choice: the dialog that makes a tenant has the box **Make me a member, as tenant admin**, on by default. With it, the operator is a member of the new tenant like any other and holds `tenant_admin` there, with no grant. Without it, the grant is the only way in.
|
|
22
22
|
|
|
23
|
+
An access grant may also be for a [service account of the instance](instance-service-accounts), opened with `serviceAccountId` in place of a member. It is audited as operator access under the account's name.
|
|
24
|
+
|
|
23
25
|
## How it fits
|
|
24
26
|
|
|
25
27
|
### Accounts and sign-in
|
|
@@ -63,7 +63,7 @@ flowchart LR
|
|
|
63
63
|
- `data` holds the database and the object store. Only the control plane joins it.
|
|
64
64
|
- `execution` holds the control plane and the worker host.
|
|
65
65
|
|
|
66
|
-
A tenant's script can reach the control plane and the internet. It cannot reach the database or the object store, because the worker host is not on `data`. See [What an instance reaches](egress-and-offline) for what the host's firewall refuses on top of that.
|
|
66
|
+
A tenant's script can reach the control plane and the internet. It cannot reach the database or the object store, because the worker host is not on `data`. The worker host is the one program of the image that stays root. The control plane becomes `node` before it starts. See [What an instance reaches](egress-and-offline) for what the host's firewall refuses on top of that.
|
|
67
67
|
|
|
68
68
|
A standalone worker makes outbound HTTPS requests to the instance and nothing needs to reach it. See [Run a standalone worker](../../how-to/running/run-a-standalone-worker).
|
|
69
69
|
|
|
@@ -29,7 +29,7 @@ EGRESS_ALLOW=10.20.0.0/16,git.internal,192.168.1.40
|
|
|
29
29
|
|
|
30
30
|
A name in the list is allowed whatever it resolves to. A network is allowed for any name that resolves into it.
|
|
31
31
|
|
|
32
|
-
**The worker host's firewall.** It refuses a script every private, loopback
|
|
32
|
+
**The worker host's firewall.** It refuses a script every private, loopback, link-local and special address, and the worker host's own, except the control plane's port and the name servers' port 53. To let scripts reach an API inside your network, list it on the worker host in `WORKER_EGRESS_ALLOW`, in the same form. It is empty unless you set it, and it needs the `NET_ADMIN` capability. See [Workers, users and what a script can reach](managed-workers-and-isolation).
|
|
33
33
|
|
|
34
34
|
Everything else a tenant's systems are asked, such as posting a failure alert or trying a connection, is done by a worker, not the control plane.
|
|
35
35
|
|
|
@@ -29,24 +29,47 @@ One worker cannot read, write, list or signal another worker or the host. The ho
|
|
|
29
29
|
|
|
30
30
|
The host and the control plane share `WORKER_HOST_TOKEN`. The host never gives it to a worker. Each tenant has at most one managed worker at a time, however many replicas or hosts run.
|
|
31
31
|
|
|
32
|
+
The worker host is the only program of the image that stays root. The image starts as root, because Fly runs every process of an app as the image's user and the host needs root to give each worker a user. The control plane becomes `node` before it starts, and a standalone worker becomes `node` once it has read its credential. No program in the image is set-user-ID or set-group-ID, so a script has no `su` or `mount` to climb with.
|
|
33
|
+
|
|
34
|
+
### A user is emptied before it is handed on
|
|
35
|
+
|
|
36
|
+
A worker's user is taken from the range and given again after its worker ends. Before that, the host kills every process of the user and removes its files from `/tmp`, `/var/tmp` and `/dev/shm`. It does the same for every user of the range when it starts. So a process a script left behind does not outlive its worker, and the next tenant's worker does not share a user with it.
|
|
37
|
+
|
|
38
|
+
Workers write in no place they share. In the worker host's container, `/tmp`, `/var/tmp` and `/dev/shm` are closed to them: each keeps its temporary files in its own directory, its `HOME` and `TMPDIR`. So one tenant's script cannot leave a file for another's to read, or one under a name another's will use.
|
|
39
|
+
|
|
40
|
+
If a process of the user is still there after every try, the host logs the error "a worker's user could not be emptied" and never gives that user again. When it finds something left, it logs the warning "a worker left processes or files behind: they were removed".
|
|
41
|
+
|
|
32
42
|
### The firewall
|
|
33
43
|
|
|
34
|
-
With `NET_ADMIN`, the host
|
|
44
|
+
With `NET_ADMIN`, the host writes one nftables table, `inet volvel_workers`, at start. It loads the table at once, all of it or none, and reads it back. The rules match the worker's user. If they cannot be loaded, the host logs an error and stops: no worker starts without them. Open to a worker are:
|
|
45
|
+
|
|
46
|
+
- the control plane, on its own port only (from `VOLVEL_URL` or `--url`);
|
|
47
|
+
- the name servers, on port 53 only. Docker's name server at `127.0.0.11` is open on any port, because Docker rewrites the port;
|
|
48
|
+
- what `WORKER_EGRESS_ALLOW` lists: networks and host names, comma separated, on any port, empty unless you set it;
|
|
49
|
+
- the public internet.
|
|
35
50
|
|
|
36
|
-
-
|
|
37
|
-
- the container's name servers, IPv4 and IPv6;
|
|
38
|
-
- what `WORKER_EGRESS_ALLOW` lists: networks and host names, comma separated, empty unless you set it.
|
|
51
|
+
Refused are every private, loopback, link-local and special IPv4 and IPv6 range (cloud metadata among them; mapped, NAT64, 6to4, Teredo and site-local forms too), and the machine's own addresses.
|
|
39
52
|
|
|
40
|
-
|
|
53
|
+
The host looks the names up again every 30 seconds and refills the allowed addresses when an answer changes, such as a control plane machine that was replaced or restarted. A lookup that fails leaves workers with less access, never more. When the control plane's name gives no address yet, the host warns and keeps looking.
|
|
41
54
|
|
|
42
|
-
|
|
55
|
+
A packet with no owning socket, such as IPv6 neighbor discovery the kernel sends itself, is not held to the rules.
|
|
56
|
+
|
|
57
|
+
Without `NET_ADMIN`, the host says so in its log and starts, and only the container's network keeps workers from the instance's services. Block `169.254.169.254` at the machine if the instance runs in a cloud.
|
|
43
58
|
|
|
44
59
|
`WORKER_EGRESS_ALLOW` is not `EGRESS_ALLOW`. See [What an instance reaches](egress-and-offline).
|
|
45
60
|
|
|
61
|
+
### What was tried
|
|
62
|
+
|
|
63
|
+
On 28 November 2026, on Docker Compose and on Fly.io, two tenants' scripts ran on one worker host under load, side by side and one after the other on the same reused user. They had different users. They could not read another user's process environment or memory, signal it, or read the host's environment. They could not become root: no capabilities and no set-user-ID files. They could not read or write another user's files in `/tmp` and `/dev/shm`. A process left behind did not outlive its worker. The database, the object store, other apps of the Fly organization, the Fly machines API, cloud metadata and the control plane's other ports were all refused.
|
|
64
|
+
|
|
46
65
|
### Stopping
|
|
47
66
|
|
|
48
67
|
A stopping host asks each worker to finish for up to 30 seconds, ends it, and gives up 10 seconds later with "a worker could not be stopped and is left running". The Compose file gives the host `stop_grace_period: 60s` for that.
|
|
49
68
|
|
|
69
|
+
## Which mode to use
|
|
70
|
+
|
|
71
|
+
An instance whose tenants write code and do not trust each other runs `MANAGED_WORKERS=host`. `process` mode runs every tenant's scripts as one user, and fits an instance where only the operator writes code.
|
|
72
|
+
|
|
50
73
|
## Process mode
|
|
51
74
|
|
|
52
75
|
Without a worker host, the control plane starts workers itself. They can reach whatever the control plane reaches. So it starts one only for a tenant whose code only the operator writes. A tenant whose code is written by anyone else, a member or a group with `code:write` who holds no instance-wide role, or any service account, gets none. Its Workers page says it runs on standalone workers only.
|
|
@@ -61,9 +84,13 @@ This is the mode for development, and for a single site where only the operator
|
|
|
61
84
|
|
|
62
85
|
## What is not there
|
|
63
86
|
|
|
64
|
-
- **No sandbox.** A script's process runs as its worker's user with no further container. It can reach the network, and the files that user can read.
|
|
87
|
+
- **No sandbox.** A script's process runs as its worker's user with no further container. It can reach the network, and the files that user can read. A worker host separates tenants by user, directory and firewall. It does not give each run a box of its own. Per-run namespaces or a virtual machine per tenant are planned (issue #37) and not built.
|
|
65
88
|
- A worker never gives its credential to a script's process. Every call a script makes goes through the worker, and only for its own run.
|
|
66
|
-
-
|
|
89
|
+
- A script sees the list of processes on its machine and their command lines.
|
|
90
|
+
- All workers of a host share one network namespace. The firewall keeps them apart by user.
|
|
91
|
+
- A script can read its own worker's memory, and so its own tenant's worker credential. That is the same tenant's credential.
|
|
92
|
+
- A process a script starts outlives the script's time and memory limits, until its worker ends.
|
|
93
|
+
- Fly's kernel has no Yama `ptrace_scope`. Reading another user's process still needs a capability no worker has. Where `kernel.yama.ptrace_scope` is 0, a worker warns at start.
|
|
67
94
|
|
|
68
95
|
Run a tenant you do not trust on a worker of its own, on a machine of its own. See [Run a standalone worker](../../how-to/running/run-a-standalone-worker) and [Hardening](security-hardening).
|
|
69
96
|
|
|
@@ -21,19 +21,19 @@ Two rules hold the design:
|
|
|
21
21
|
| A tenant from the operator | An operator has no access inside a tenant by default. Access is a time-limited grant with a reason, which the tenant's admins can see and end. Everything done under it is audited. |
|
|
22
22
|
| Secrets at rest | Each tenant has its own key, wrapped by the master key. See [the master key](keys-and-secrets). |
|
|
23
23
|
| A person's rows from another person | Postgres row-level security on every custom table. Row requests sign in as a role that owns nothing. |
|
|
24
|
-
| The console from a tenant's app | A member's console session counts only at the instance's own address.
|
|
24
|
+
| The console from a tenant's app | A member's console session counts only at the instance's own address. Every page of an app written as code is served sandboxed, so it has no origin and is sent no cookie. Even at the console's address it acts with a token that reaches only what apps use. |
|
|
25
|
+
| One tenant's app written as code from another tenant's | Each page is sandboxed, with no origin, no cookie and no storage. It cannot read another page, and it acts with a ten-minute token for one tenant. The API answers it without credentials, and ignores a cookie it sends. |
|
|
25
26
|
| What happened | One write path records an audit entry in the same transaction as the change. Entries cannot be changed or deleted one by one. |
|
|
26
27
|
| A worker's credential from a script | The script's process is never given it. |
|
|
27
28
|
|
|
28
29
|
## What it does not protect against
|
|
29
30
|
|
|
30
|
-
- **Code a tenant deploys, from what its worker can reach.** No sandbox. Run a tenant you do not trust on a worker of its own, on a machine of its own.
|
|
31
|
-
- **Workers started beside the control plane** (`MANAGED_WORKERS=process`). They share its network, and with `MANAGED_WORKER_USER=same` or where the container may not switch users, its user.
|
|
32
|
-
- **A worker host without `NET_ADMIN`.** Block link-local addresses at the machine.
|
|
31
|
+
- **Code a tenant deploys, from what its worker can reach.** No sandbox. A worker host gives each worker a user, a directory and a firewall, not a box of its own: a script sees the processes of its machine and their command lines, and a process it starts outlives its limits until its worker ends. A box per run or per tenant is not built (issue #37). Run a tenant you do not trust on a worker of its own, on a machine of its own.
|
|
32
|
+
- **Workers started beside the control plane** (`MANAGED_WORKERS=process`). An instance whose tenants write code and do not trust each other runs `MANAGED_WORKERS=host`. In `process` mode every tenant's scripts run as one user, so it is for an instance where only the operator writes code. They share its network, and with `MANAGED_WORKER_USER=same` or where the container may not switch users, its user.
|
|
33
|
+
- **A worker host without `NET_ADMIN`.** It starts, with only the container's network to keep workers from the instance's services. Block link-local addresses at the machine.
|
|
33
34
|
- **An operator with access to the database, the master key or the host.** Such a person can read everything. Use a dedicated instance where that matters.
|
|
34
35
|
- **A lost master key.** Nothing encrypted can be recovered without it.
|
|
35
|
-
- **
|
|
36
|
-
- **One tenant's app written as code, from another tenant's.** Every app written as code is served at one address, `APPS_URL` or the console's own, which a browser treats as one site. A page of tenant A's app can read and change what tenant B's app shows, as any visitor who is signed in to B's apps in that browser. This was run in a browser, for both addresses. On an instance whose tenants do not trust each other, give the right to deploy an app written as code (`deployment:write`) only to people you trust, until apps have addresses of their own. A hostname a tenant registers for an app is an origin of its own, and keeps the sign-in used there from other tenants' pages. It does not take the app off the shared address, where anyone who signs in is exposed again.
|
|
36
|
+
- **What an app's files hold.** An app's scripts, styles, fonts and pictures are served without a sign-in, at an address made from their content. Anyone who knows it can fetch it. An app's files must hold no secret: they are sent to every visitor in any case.
|
|
37
37
|
- **A flood from many addresses.** Limits are per address and are counted in Postgres across every replica. The address is the one your proxy saw: set `TRUSTED_PROXIES` to match your proxies. Put a proxy with limits of its own in front of a public app.
|
|
38
38
|
- **A column, from someone who may read the row.** Row rules decide which rows, not which columns.
|
|
39
39
|
|
|
@@ -42,11 +42,12 @@ Two rules hold the design:
|
|
|
42
42
|
- A TLS-terminating proxy is in front. The control plane speaks plain HTTP and listens on `127.0.0.1:8080` in the Compose file. See [Put a proxy in front](../../how-to/running/put-a-proxy-in-front).
|
|
43
43
|
- `TRUSTED_PROXIES` matches the proxies in front (`0` when none), and the proxy overwrites `X-Forwarded-For`, `X-Forwarded-Host` and `X-Forwarded-Proto`.
|
|
44
44
|
- `PUBLIC_URL` is the address people type. Cookies are marked Secure by its scheme.
|
|
45
|
-
- `APPS_URL
|
|
45
|
+
- `APPS_URL`, if you set it, is a different host from `PUBLIC_URL`. It is not needed to keep tenants' apps apart: every page of an app written as code is sandboxed.
|
|
46
46
|
- `BOOTSTRAP_ADMIN_EMAIL` and `BOOTSTRAP_ADMIN_PASSWORD` are removed after the first start.
|
|
47
47
|
- `MASTER_KEY` is kept in a second place, and every key is kept as long as the backups it sealed.
|
|
48
48
|
- Backups run, and a restore has been tried. See [Restore an instance](../../how-to/running/restore-an-instance).
|
|
49
|
-
-
|
|
49
|
+
- Tenants who write code and do not trust each other run on `MANAGED_WORKERS=host`.
|
|
50
|
+
- The worker host has `NET_ADMIN` and its log says the rules are in place, and `WORKER_EGRESS_ALLOW` lists only what scripts need.
|
|
50
51
|
- `METRICS_TOKEN` is set if a scraper reads the metrics, and is at least 32 characters.
|
|
51
52
|
- Postgres and the object store are not reachable from outside the instance.
|
|
52
53
|
|
|
@@ -63,6 +63,21 @@ Measured in November 2026 on one dedicated CPU and 2 GB for the control plane an
|
|
|
63
63
|
|
|
64
64
|
These are one machine's figures, not a promise. The fixtures that put on the load are `examples/stress` in the repository, so the test can be run again.
|
|
65
65
|
|
|
66
|
+
## What more hardware buys
|
|
67
|
+
|
|
68
|
+
Measured on Fly on 28 November 2026 with one instance resized between runs, so that the data, the load and the machine sending it were the same at each size. The control plane ran scripts in `process` mode. The database was always the same size as the control plane, with 12 tenants and a table of 100,000 rows in each. The load came from a machine beside them.
|
|
69
|
+
|
|
70
|
+
| | 1 CPU, 2 GB | 2 CPUs, 4 GB | 4 CPUs, 8 GB |
|
|
71
|
+
| --- | --- | --- | --- |
|
|
72
|
+
| Reads and totals of the tables, a second | about 50 | about 115 | about 220 |
|
|
73
|
+
| Readers at once before the slowest twentieth took over a second | 8 | 56 | 160, and not yet over |
|
|
74
|
+
| Scripts that return at once, finished a second | 2.9 | about 6 | about 13 |
|
|
75
|
+
| A mix of short scripts and ones that sleep or hold 80 MB for five seconds | kept up at 2 a second; at 4 a second, 1.6 a second finished | kept up at 4 a second | kept up at 4 a second |
|
|
76
|
+
|
|
77
|
+
Each doubling a little more than doubled what the instance did, and no request failed at any size. Doubling only the control plane, or only the database, was not measured: reads of large tables are the database's work, and scripts are the control plane's.
|
|
78
|
+
|
|
79
|
+
The scripts that return at once finished at 2.9 a second here and about four a second in the earlier test: the earlier figure was over 24 tenants and different scripts, and is not this table's.
|
|
80
|
+
|
|
66
81
|
## The database's connection budget
|
|
67
82
|
|
|
68
83
|
Every tenant's table requests share one pool of connections per replica, on the instance's database and on each dedicated database. Each tenant has a share of it:
|
|
@@ -93,6 +108,20 @@ When there are several replicas:
|
|
|
93
108
|
- set `AUTH_SECRET` to the same value on all of them;
|
|
94
109
|
- add up each replica's counted metrics, as Prometheus does with `sum`.
|
|
95
110
|
|
|
111
|
+
### What two replicas did
|
|
112
|
+
|
|
113
|
+
Measured on Fly on 28 November 2026: two control planes of one dedicated CPU and 2 GB each, in `process` mode, sharing a database of the same size, with 12 tenants. For 15 minutes, 12 readers read and totalled tables of 20,000 rows, about 150 reads a second, while scripts were started at 2 a second: short ones, ones that sleep five seconds and ones that hold 80 MB for five seconds. One machine was killed outright, then each was restarted in turn.
|
|
114
|
+
|
|
115
|
+
| What happened | What it cost |
|
|
116
|
+
| --- | --- |
|
|
117
|
+
| One machine killed (`SIGKILL`) | Fly started it again within two seconds. 7 of 134,519 reads failed: 6 answered 502, and 1 had no answer for 30 seconds. 1 of 5,601 calls to start or follow a run answered 502. The 3 scripts running on that machine failed 49 seconds later, as not heard from. The queue was whole. |
|
|
118
|
+
| The same machine restarted | 5 reads answered 502. No run failed. |
|
|
119
|
+
| The other machine restarted | Nothing failed. |
|
|
120
|
+
|
|
121
|
+
Every one of the 1,811 runs ended: 1,808 succeeded, and the 3 above failed. The slowest twentieth of reads took 129 to 208 ms throughout, and the instance's own check answered every second but one.
|
|
122
|
+
|
|
123
|
+
What can be said, then: with two replicas, losing one costs a few requests and the scripts it was running, and a restart of each in turn, as a deploy does, costs a few requests and no run. A script that must survive its machine needs retries. The database is still one machine, and losing it is losing the instance, as with one replica.
|
|
124
|
+
|
|
96
125
|
## What to watch
|
|
97
126
|
|
|
98
127
|
Alert on a queue that keeps growing (`volvel_queue_oldest_seconds`) rather than on full slots: full slots are the limit doing its work. See [Monitor an instance](../../how-to/running/monitor-an-instance).
|
|
@@ -57,6 +57,18 @@ volvel tenant import SLUG.tar --slug NEW --yes
|
|
|
57
57
|
|
|
58
58
|
`volvel tenant export` writes to `SLUG.tar.part` and renames it to `SLUG.tar` when the archive is whole. If the instance ends the export, it removes the part file and says why. It resumes nothing: run it again. When the instance answers that it is writing as many exports as it allows, or that the tenant is being exported, the command waits for the time the instance names (30 seconds) and asks again, up to 10 tries.
|
|
59
59
|
|
|
60
|
+
### How long a large tenant takes
|
|
61
|
+
|
|
62
|
+
Run on Fly on 28 November 2026: a tenant with 100,000 rows, 230 files of 3.7 GB and its run history, on a control plane and a database of 4 CPUs and 8 GB, moved by the command line from a machine beside them.
|
|
63
|
+
|
|
64
|
+
| Step | Time |
|
|
65
|
+
| --- | --- |
|
|
66
|
+
| `volvel tenant export --history`: a file of 3.85 GB | 62 s (63 MB/s) |
|
|
67
|
+
| Deleting the tenant | 10 s |
|
|
68
|
+
| `volvel tenant import --yes` | 251 s |
|
|
69
|
+
|
|
70
|
+
Every file came back byte for byte the same. The command line held about 220 MB while it sent the file. Before version 0.7 it held the whole file in memory, and an import larger than the memory of the machine sending it was stopped.
|
|
71
|
+
|
|
60
72
|
### The limits on exports
|
|
61
73
|
|
|
62
74
|
An instance bounds its exports so that slow readers cannot take every database connection. Four settings, in [How an instance is configured](../../reference/running/configuration):
|
|
@@ -25,7 +25,7 @@ By the end you have the three things a restore needs: a copy of Postgres, a copy
|
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
`--no-owner` is what lets the dump be restored under any user or database name. A dump taken this way is a backup: the instance makes its policies again at the first start after a restore.
|
|
28
|
-
2. Back up the object store, close to the time of the dump. For an S3 service, copy the bucket with
|
|
28
|
+
2. Back up the object store, close to the time of the dump. For an S3 service, copy the bucket with any S3 tool: `aws s3 sync s3://<bucket> ./bucket --endpoint-url <the store's address>` copied 216 MB from a Tigris bucket on Fly in 10 seconds. For the bundled store, stop it and copy its volume:
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
31
|
docker compose -f deploy/compose/compose.yaml stop objectstore
|
|
@@ -10,7 +10,7 @@ By the end you will have a local image, `volvel/volvel:docs` or a name you choos
|
|
|
10
10
|
|
|
11
11
|
## Before you start
|
|
12
12
|
|
|
13
|
-
- Docker with Compose, and a machine that can reach the internet for this step only: the build pulls `node:
|
|
13
|
+
- Docker with Compose, and a machine that can reach the internet for this step only: the build pulls `node:26-slim` and fetches packages with `pnpm install`.
|
|
14
14
|
- A copy of the repository at the version you want. A clean copy keeps files you changed or added out of the image: `git archive HEAD | tar -x -C <folder>` makes one from a checkout.
|
|
15
15
|
|
|
16
16
|
## Build
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Install an instance on Fly.io, as an example
|
|
3
|
-
description: "Deploy the image to Fly.io with a
|
|
3
|
+
description: "Deploy the image to Fly.io with a Fly Postgres app and a bucket, and add the workers group. An example topology; Compose is the supported one."
|
|
4
4
|
subjects: [install]
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -9,19 +9,33 @@ subjects: [install]
|
|
|
9
9
|
By the end the control plane runs on Fly.io. Fly is an example, not a supported topology: Compose is the supported one. The files are `deploy/fly/fly.toml` and `deploy/fly/README.md`.
|
|
10
10
|
|
|
11
11
|
:::alert[What was run]{type=info}
|
|
12
|
-
The control plane was run on Fly in November 2026 with `MANAGED_WORKERS=process`, a Fly Postgres app and a Tigris bucket, loaded and broken on purpose for a day. The `workers` group of step
|
|
12
|
+
The control plane was run on Fly in November 2026 with `MANAGED_WORKERS=process`, a Fly Postgres app and a Tigris bucket, loaded and broken on purpose for a day. The `workers` group of step 6 was run and tried on Fly on 28 November 2026: two tenants' scripts on one worker host, under load, with the checks in [Workers, users and what a script can reach](../../explanation/running/managed-workers-and-isolation).
|
|
13
13
|
:::
|
|
14
14
|
|
|
15
15
|
## Before you start
|
|
16
16
|
|
|
17
17
|
- The `fly` command, signed in with `fly auth login`.
|
|
18
|
-
- A Fly
|
|
18
|
+
- A Fly Postgres app in the same region, from `fly postgres create` (Postgres 16 or later), and a bucket from `fly storage create`.
|
|
19
|
+
|
|
20
|
+
:::alert[Not Fly Managed Postgres]{type=warning}
|
|
21
|
+
The instance cannot run on Fly Managed Postgres. The most a Managed Postgres user may be is `schema_admin`, which cannot create roles, and the instance makes a role for tenants' data: it stops at its first start with "permission denied to create role". The address `fly mpg attach` gives also goes through PgBouncer, a transaction pooler, which the instance cannot use ([Requirements](../../reference/running/requirements)). Tried on 28 November 2026.
|
|
22
|
+
:::
|
|
19
23
|
|
|
20
24
|
## Deploy
|
|
21
25
|
|
|
22
26
|
:::steps
|
|
23
27
|
1. Set `app` and `primary_region` in `deploy/fly/fly.toml`, then `fly apps create <app>`.
|
|
24
|
-
2.
|
|
28
|
+
2. Make the instance's database and its user on the Postgres app. The user owns the database and may create roles; it need not be a superuser ([Use your own Postgres](use-your-own-postgres)):
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
fly ssh console -a <db app> -C "bash -c 'PGPASSWORD=\$OPERATOR_PASSWORD psql -h localhost -p 5433 -U postgres \
|
|
32
|
+
-c \"create role volvel login createrole password '\\''<a long random password>'\\''\" \
|
|
33
|
+
-c \"create database volvel owner volvel\"'"
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
The instance's `DATABASE_URL` is then `postgres://volvel:<password>@<db app>.internal:5433/volvel`.
|
|
37
|
+
3. Make the bucket with `fly storage create -n <bucket> -a <app>`. It sets its own secrets on the app, under the names `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_ENDPOINT_URL_S3` and `BUCKET_NAME`, which the instance does not read: give their values again under the names below, and remove those with `fly secrets unset`.
|
|
38
|
+
4. Set the secrets under the names the instance reads:
|
|
25
39
|
|
|
26
40
|
```bash
|
|
27
41
|
fly secrets set --app <app> \
|
|
@@ -35,8 +49,8 @@ The control plane was run on Fly in November 2026 with `MANAGED_WORKERS=process`
|
|
|
35
49
|
```
|
|
36
50
|
|
|
37
51
|
Keep a copy of `MASTER_KEY`. Remove the two bootstrap secrets after the first sign-in.
|
|
38
|
-
|
|
39
|
-
|
|
52
|
+
5. Deploy from the repository root: `fly deploy . --config deploy/fly/fly.toml --dockerfile Dockerfile`.
|
|
53
|
+
6. For managed workers, set the shared secret and add a `workers` group:
|
|
40
54
|
|
|
41
55
|
```bash
|
|
42
56
|
fly secrets set --app <app> WORKER_HOST_TOKEN="$(openssl rand -hex 32)" MANAGED_WORKERS=host \
|
|
@@ -46,11 +60,13 @@ The control plane was run on Fly in November 2026 with `MANAGED_WORKERS=process`
|
|
|
46
60
|
```toml
|
|
47
61
|
[processes]
|
|
48
62
|
app = "volvel-start dist/main.js"
|
|
49
|
-
workers = "volvel-worker-host --url http
|
|
63
|
+
workers = "volvel-worker-host --url http://app.process.<app>.internal:8080"
|
|
50
64
|
```
|
|
51
65
|
|
|
66
|
+
`app.process.<app>.internal` is the name of the control plane's process group. Do not use `<app>.internal`: it names every machine of the app, the workers' own included.
|
|
67
|
+
|
|
52
68
|
Or set `MANAGED_WORKERS=false` if every tenant is served by standalone workers.
|
|
53
|
-
|
|
69
|
+
7. Verify: `curl https://<app>.fly.dev/api/v1/readyz` and `/api/v1/instance`.
|
|
54
70
|
:::
|
|
55
71
|
|
|
56
72
|
## What the file sets
|
|
@@ -60,8 +76,8 @@ The control plane was run on Fly in November 2026 with `MANAGED_WORKERS=process`
|
|
|
60
76
|
- `kill_timeout = 60`: give the `workers` machines the same. Without it Fly gives a stopping machine five seconds, and every deploy fails the scripts in progress. With it, a deploy lets them finish for thirty seconds.
|
|
61
77
|
- The health check is `/api/v1/healthz`. Fly does not restart a machine whose check fails, it decides where traffic goes, and with one machine a failing check is the whole instance unreachable. `/api/v1/readyz` answers 503 while the object store cannot be reached, though the console, the API and scripts still work, so it is not the check: watch it from a monitor of your own. Migrations run when the new machine starts, before it listens.
|
|
62
78
|
- `swap_size_mb = 512`, and a machine of `shared-cpu-1x` with 1024 MB, which gives three run slots in `process` mode. Size the `workers` machines for the scripts they will run.
|
|
63
|
-
- The
|
|
64
|
-
- `APPS_URL` gives apps written as code an address of their own: `fly certs add apps.<your domain>`.
|
|
79
|
+
- The image starts as root, because Fly runs every process of an app as the image's user and `fly.toml` cannot set a user per process group. The control plane becomes `node` before it starts. The worker host stays root, to start each worker as a user of its own. If its log says "not running as root" or "a worker could not be started", no worker will start.
|
|
80
|
+
- `APPS_URL` is optional. It gives apps written as code an address of their own: `fly certs add apps.<your domain>`. Without it they are served at the console's address, each page sandboxed.
|
|
65
81
|
|
|
66
82
|
A shared CPU has burst credit for a while, then a fraction of a core. On `shared-cpu-1x` a Postgres spends its allowance when idle and every tenant's queries slow down together; on `shared-cpu-2x` the control plane served 160 requests a second on its burst and 22 to 27 after. Give both a `performance` CPU for anything past a trial: `performance-1x` with 2 GB each is what the figures in [Sizing and scaling](../../explanation/running/sizing-and-scaling) were measured on.
|
|
67
83
|
|
|
@@ -70,6 +86,7 @@ A shared CPU has burst credit for a while, then a fraction of a core. On `shared
|
|
|
70
86
|
Each was done on purpose, under load:
|
|
71
87
|
|
|
72
88
|
- **The app's machine killed.** Fly started it again: answering after 22 seconds, scripts running after 53. The queue was whole. Scripts in progress failed as not heard from, and one with no retries is not run again.
|
|
89
|
+
- **One of two app machines killed** (28 November 2026, `fly deploy --ha=true`). The other went on answering: 8 of about 140,000 requests failed, and the 3 scripts running on the killed machine failed 49 seconds later. Restarting each machine in turn lost no run. See [Sizing and scaling](../../explanation/running/sizing-and-scaling).
|
|
73
90
|
- **The database's machine killed.** The control plane stayed up, answered 503 for about five seconds, and went on. No script failed.
|
|
74
91
|
- **The database's disk full.** Fly's Postgres turns the database read-only. Reads and the console went on, changes were answered 503 `read_only`, and writes came back 11 to 17 seconds after the disk was freed, with no restart. See [Run on a read-only database](run-on-a-read-only-database).
|
|
75
92
|
- **The bucket unreachable.** `/api/v1/readyz` said so within three seconds. Everything that needs no file went on.
|
|
@@ -53,9 +53,9 @@ By the end you will have an instance running on one machine, with its own Postgr
|
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
Compose starts Postgres and the object store, then the control plane, then the worker host. The control plane makes and migrates the database on its first start. The command returns when every service is healthy.
|
|
56
|
-
5. Check it. `curl http://localhost:8080/api/v1/readyz` answers 200 with `"status":"ready"`, and `curl http://localhost:8080/api/v1/instance` names the version and the migration level.
|
|
56
|
+
5. Check it. `curl http://localhost:8080/api/v1/readyz` answers 200 with `"status":"ready"`, and `curl http://localhost:8080/api/v1/instance` names the version and the migration level. If you changed `VOLVEL_BIND`, use its address and port instead of `localhost:8080`.
|
|
57
57
|
6. Open `PUBLIC_URL` in a browser and sign in with `BOOTSTRAP_ADMIN_EMAIL` and its password. You are an operator admin. Create a tenant from **Instance**, then **All tenants**.
|
|
58
|
-
7. Remove `BOOTSTRAP_ADMIN_EMAIL` and `BOOTSTRAP_ADMIN_PASSWORD` from `.env`, and apply the change: `docker compose -f deploy/compose/compose.yaml up -d`.
|
|
58
|
+
7. Remove `BOOTSTRAP_ADMIN_EMAIL` and `BOOTSTRAP_ADMIN_PASSWORD` from `.env`, and apply the change: `docker compose -f deploy/compose/compose.yaml up -d`. If you will [set up the Fernhill example](../../../start/how-to/example/set-up-the-fernhill-example), do that first and keep the password somewhere safe: its setup signs in as this operator.
|
|
59
59
|
:::
|
|
60
60
|
|
|
61
61
|
## The result
|
|
@@ -68,7 +68,7 @@ Next:
|
|
|
68
68
|
|
|
69
69
|
- [Put a proxy in front](put-a-proxy-in-front) before anyone else reaches it.
|
|
70
70
|
- [Back up an instance](back-up-an-instance) and try a [restore](restore-an-instance).
|
|
71
|
-
- To try the instance with a demo tenant, [Set up the Fernhill example](../../../start/how-to/example/set-up-the-fernhill-example).
|
|
71
|
+
- To try the instance with a demo tenant, [Set up the Fernhill example](../../../start/how-to/example/set-up-the-fernhill-example). Its "On a Compose install" section says what to set, because scripts run in the worker host's container and cannot reach a service on `127.0.0.1` of your machine. The worker host knows the machine as `host.docker.internal`, and reaches it only when `WORKER_EGRESS_ALLOW` names it.
|
|
72
72
|
- To use your own database or store, see [Use your own Postgres](use-your-own-postgres) and [Use your own object store](use-your-own-object-store).
|
|
73
73
|
|
|
74
74
|
## If it does not work
|
|
@@ -76,7 +76,7 @@ Next:
|
|
|
76
76
|
- **A container restarts on start.** Read its log: `docker compose -f deploy/compose/compose.yaml logs control-plane`. A missing or malformed setting is named there, every problem at once. `docker compose run --rm --no-deps control-plane node dist/main.js check-config` says whether the settings are valid and opens nothing.
|
|
77
77
|
- **`up` stops with "set PUBLIC_URL in .env".** The Compose file requires `PUBLIC_URL`, `AUTH_SECRET`, `MASTER_KEY` and `WORKER_HOST_TOKEN`.
|
|
78
78
|
- **No database starts.** `COMPOSE_PROFILES=postgres,objectstore` is missing from `.env`.
|
|
79
|
-
- **The worker host is unhealthy.** Read `docker compose logs worker-host`. A worker user setting that is not a whole number stops it.
|
|
79
|
+
- **The worker host is unhealthy.** Read `docker compose logs worker-host`. A worker user setting that is not a whole number stops it, and so do firewall rules that cannot be loaded.
|
|
80
80
|
- **Sign-in fails.** The instance made the first operator only at its first start, and only with both settings. If the instance has members and nobody can sign in, see [Recover an operator](recover-an-operator).
|
|
81
81
|
- **"The instance has no members. Set BOOTSTRAP_ADMIN_EMAIL and BOOTSTRAP_ADMIN_PASSWORD and restart..."** in the log: add them and restart.
|
|
82
82
|
|
|
@@ -24,6 +24,8 @@ By the end your monitoring checks the instance's probes and scrapes its `volvel_
|
|
|
24
24
|
| `/api/v1/readyz` | 200 `ready` when Postgres and the object store each answer within 3 seconds, 503 `not_ready` otherwise. A database that takes no writes is still ready, and says `"readOnly": true`; each check carries its `latencyMs`. |
|
|
25
25
|
| `/api/v1/instance` | The version and migration level. |
|
|
26
26
|
|
|
27
|
+
`/readyz` says whether this replica is serving. Whether the instance is whole is a second question, answered by `GET /api/v1/instance/health` for a member or an API key that holds `instance:read`, with no access grant: the database (reachable, read-only, how fast it answers), the object store, the migration level, the workers connected and the runs due, background steps that ran past their limit in the replica asked, and the tenants that are not well. Its `status` is `ok`, `waiting` or `failing`, and `reasons` says in sentences what to do. A tenant's own is `GET /api/v1/tenants/<id>/health`, for whoever holds `figures:read` there, and agents read it with the `get_health` tool. A tenant is `waiting` when runs are due and no worker can take them, the oldest due run has waited 2 minutes, the average wait over the last 15 minutes is a minute or more, or runs waited for a slot, a fair share, memory or a workspace limit 5 times or more; and `failing` when half or more of at least 4 runs that ended in the last 15 minutes failed.
|
|
28
|
+
|
|
27
29
|
2. Set `METRICS_TOKEN` in `.env` and restart. Make the scraper send it as `Authorization: Bearer <token>` to `/api/v1/metrics`:
|
|
28
30
|
|
|
29
31
|
```yaml
|