@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.
Files changed (585) hide show
  1. package/THIRD_PARTY_NOTICES.md +21 -3
  2. package/assets/screenshots/administer/access-changes.dark.5bf247ce0f19.png +0 -0
  3. package/assets/screenshots/administer/access-changes.light.ed91948531ce.png +0 -0
  4. package/assets/screenshots/administer/access-end-users.dark.4d9a5acba896.png +0 -0
  5. package/assets/screenshots/administer/access-end-users.light.cef020771af1.png +0 -0
  6. package/assets/screenshots/administer/access-groups.dark.aaf84e089c11.png +0 -0
  7. package/assets/screenshots/administer/sso-audit-filters.dark.9aa82a2ac9c5.png +0 -0
  8. package/assets/screenshots/administer/sso-audit-filters.light.5ecfdb651ace.png +0 -0
  9. package/assets/screenshots/administer/{sso-branding-theme.dark.80bc3ce901a4.png → sso-branding-theme.dark.9a2c0482b3c2.png} +0 -0
  10. package/assets/screenshots/administer/{sso-branding-theme.light.f48bd968481c.png → sso-branding-theme.light.7be432359625.png} +0 -0
  11. package/assets/screenshots/administer/{sso-provider-setup.dark.8834ae797a50.png → sso-provider-setup.dark.bc7d126f135d.png} +0 -0
  12. package/assets/screenshots/administer/sso-provider-setup.light.0cbda9279747.png +0 -0
  13. package/assets/screenshots/administer/sso-workers-pools.dark.43f043620615.png +0 -0
  14. package/assets/screenshots/administer/sso-workers-pools.light.25b0e09b2ff0.png +0 -0
  15. package/assets/screenshots/console/account-sessions.dark.05dbf87d40a9.png +0 -0
  16. package/assets/screenshots/console/account-sessions.light.2ef44c907ee5.png +0 -0
  17. package/{dist/assets/screenshots/console/app-builder-list.dark.48340ac81e11.png → assets/screenshots/console/app-builder-list.dark.124cca05b904.png} +0 -0
  18. package/{dist/assets/screenshots/console/app-builder-list.light.85064d6742d4.png → assets/screenshots/console/app-builder-list.light.082ae0464cbe.png} +0 -0
  19. package/{dist/assets/screenshots/console/apps-list.dark.6580be4c6f17.png → assets/screenshots/console/apps-list.dark.b24bb8a4fe8f.png} +0 -0
  20. package/{dist/assets/screenshots/console/apps-list.light.35ac9711c9a0.png → assets/screenshots/console/apps-list.light.fa8996fe55ff.png} +0 -0
  21. package/assets/screenshots/console/{apps-share.dark.cf87c470cec4.png → apps-share.dark.0bb1a7899419.png} +0 -0
  22. package/{dist/assets/screenshots/console/apps-share.light.eddc9c058c37.png → assets/screenshots/console/apps-share.light.f26f075b3680.png} +0 -0
  23. package/assets/screenshots/console/{basics-workspace-overview.dark.75d4329d6bd9.png → basics-workspace-overview.dark.678c40fa9f2a.png} +0 -0
  24. package/assets/screenshots/console/{basics-workspace-overview.light.0a097241dfcb.png → basics-workspace-overview.light.86f7922860c9.png} +0 -0
  25. package/assets/screenshots/console/configure-alerts-default.dark.8a2c534aa415.png +0 -0
  26. package/{dist/assets/screenshots/console/configure-alerts.dark.3e4b58238bd2.png → assets/screenshots/console/configure-alerts.dark.314fe8d7e0c6.png} +0 -0
  27. package/{dist/assets/screenshots/console/configure-alerts.light.24608f63f849.png → assets/screenshots/console/configure-alerts.light.ff5022a76eca.png} +0 -0
  28. package/assets/screenshots/console/{configure-connection-sheet.dark.a8ae26d592fb.png → configure-connection-sheet.dark.41ba4383632c.png} +0 -0
  29. package/assets/screenshots/console/configure-connections.dark.52147265a170.png +0 -0
  30. package/assets/screenshots/console/{configure-connections.light.c3c1ec8eca52.png → configure-connections.light.8b15826634f1.png} +0 -0
  31. package/{dist/assets/screenshots/console/dashboard-resource.dark.532f219609cc.png → assets/screenshots/console/dashboard-resource.dark.4188f2810be1.png} +0 -0
  32. package/assets/screenshots/console/dashboard-resource.light.8211fe9f380e.png +0 -0
  33. package/{dist/assets/screenshots/console/dashboards-list.light.bb704dd75a30.png → assets/screenshots/console/dashboards-list.light.438e3d23c888.png} +0 -0
  34. package/assets/screenshots/console/extensions-editor.dark.4e5246f282e2.png +0 -0
  35. package/{dist/assets/screenshots/console/extensions-list.light.f65bb930d029.png → assets/screenshots/console/extensions-list.light.a1703d257ceb.png} +0 -0
  36. package/assets/screenshots/console/flow-editor.dark.00229a94001e.png +0 -0
  37. package/assets/screenshots/console/flow-editor.light.5eb68a339e84.png +0 -0
  38. package/assets/screenshots/console/operate-approvals.light.1501cede2f94.png +0 -0
  39. package/assets/screenshots/console/operate-cancel-by-age.dark.419042b822db.png +0 -0
  40. package/assets/screenshots/console/operate-cancel-by-age.light.7d48915e9922.png +0 -0
  41. package/assets/screenshots/console/operate-events.dark.2589975f7f46.png +0 -0
  42. package/assets/screenshots/console/operate-events.light.c4d8d8ae8748.png +0 -0
  43. package/assets/screenshots/console/operate-run-failed.dark.09addb030b58.png +0 -0
  44. package/assets/screenshots/console/{operate-run-failed.light.482db87101aa.png → operate-run-failed.light.6163d2f9d3b3.png} +0 -0
  45. package/assets/screenshots/console/operate-runs.dark.3bf1250f1f59.png +0 -0
  46. package/assets/screenshots/console/{operate-runs.light.bccafcd93196.png → operate-runs.light.235f6baf6f3d.png} +0 -0
  47. package/assets/screenshots/console/page-editor.light.3ec1f9d43475.png +0 -0
  48. package/assets/screenshots/console/queries-editor.dark.ee99f9050a23.png +0 -0
  49. package/assets/screenshots/console/queries-editor.light.67bd22086115.png +0 -0
  50. package/assets/screenshots/console/queries-parameters.light.c471d505bbd1.png +0 -0
  51. package/assets/screenshots/console/{releases-review.dark.34ec540432dc.png → releases-review.dark.091d815aa9c9.png} +0 -0
  52. package/{dist/assets/screenshots/console/releases-review.light.7f7eea72fc90.png → assets/screenshots/console/releases-review.light.a440c30d08b2.png} +0 -0
  53. package/{dist/assets/screenshots/console/script-settings-tab.dark.976df3a2aaf0.png → assets/screenshots/console/script-settings-tab.dark.5e96eedd9889.png} +0 -0
  54. package/assets/screenshots/console/{scripts-test-pane.dark.6112678956ed.png → scripts-test-pane.dark.63dcff509936.png} +0 -0
  55. package/assets/screenshots/console/{scripts-test-pane.light.2e1b637a8c7a.png → scripts-test-pane.light.bcef48f905b0.png} +0 -0
  56. package/assets/screenshots/console/table-definition.light.b97883e1b6e0.png +0 -0
  57. package/assets/screenshots/console/table-help.dark.da3a47215e6b.png +0 -0
  58. package/assets/screenshots/console/table-help.light.07c67e63ef2e.png +0 -0
  59. package/assets/screenshots/console/table-rows-filtered.dark.c61524c872a5.png +0 -0
  60. package/assets/screenshots/console/table-rows-filtered.light.787e71f743dd.png +0 -0
  61. package/assets/screenshots/console/table-rows.dark.19e2afeb688e.png +0 -0
  62. package/assets/screenshots/console/table-rows.light.a9249d7b9bd5.png +0 -0
  63. package/assets/screenshots/console/tut-visit-mix.dark.f1dd71da8937.png +0 -0
  64. package/{dist/assets/screenshots/console/widgets-chart-scatter.light.e57e41675d8d.png → assets/screenshots/console/widgets-chart-scatter.light.85ea38faaed8.png} +0 -0
  65. package/assets/screenshots/console/widgets-phone-page.dark.360a39e459c7.png +0 -0
  66. package/{dist/assets/screenshots/console/workspace-settings.light.3ac3bbfd9f4e.png → assets/screenshots/console/workspace-settings.light.c56e7f5d80f8.png} +0 -0
  67. package/assets/screenshots/docs/draft-conflict.dark.597b616abec7.png +0 -0
  68. package/assets/screenshots/docs/draft-conflict.light.6d326a37e8bc.png +0 -0
  69. package/assets/screenshots/docs/page-details-type.dark.2e382c8f131e.png +0 -0
  70. package/assets/screenshots/index.json +94 -94
  71. package/assets/screenshots/self-host/extensions-component-kit.dark.ba673f636a8f.png +0 -0
  72. package/assets/screenshots/self-host/extensions-component-kit.light.282da6a4c589.png +0 -0
  73. package/assets/screenshots/self-host/instance-audit.dark.21de79247590.png +0 -0
  74. package/assets/screenshots/self-host/instance-audit.light.dba4eaa712ed.png +0 -0
  75. package/assets/screenshots/self-host/instance-branding.dark.0ddd4c2df652.png +0 -0
  76. package/assets/screenshots/self-host/instance-branding.light.c3b7ffef6d4e.png +0 -0
  77. package/assets/screenshots/self-host/instance-databases.dark.dd2403f84456.png +0 -0
  78. package/assets/screenshots/self-host/instance-databases.light.3248546636cf.png +0 -0
  79. package/assets/screenshots/self-host/instance-health.dark.5791805f72b7.png +0 -0
  80. package/assets/screenshots/self-host/instance-health.light.cbfad910fc8e.png +0 -0
  81. package/assets/screenshots/self-host/instance-import-check.dark.11ccf001d9f8.png +0 -0
  82. package/assets/screenshots/self-host/instance-import-check.light.efbbef163d80.png +0 -0
  83. package/assets/screenshots/self-host/instance-members.dark.d9fa55d364fd.png +0 -0
  84. package/assets/screenshots/self-host/instance-members.light.7af6bfa48914.png +0 -0
  85. package/assets/screenshots/self-host/instance-operators.dark.1326e9460224.png +0 -0
  86. package/assets/screenshots/self-host/instance-operators.light.3f2cac001fb5.png +0 -0
  87. package/assets/screenshots/self-host/instance-tenants.dark.ba860dc98c90.png +0 -0
  88. package/assets/screenshots/self-host/instance-tenants.light.6a63877c41b3.png +0 -0
  89. package/assets/screenshots/self-host/instance-triggers.dark.f2bba07895f2.png +0 -0
  90. package/assets/screenshots/self-host/instance-triggers.light.dddb827e214a.png +0 -0
  91. package/assets/screenshots/start/basics-finding-your-way.dark.5cc80a2d591f.png +0 -0
  92. package/assets/screenshots/start/basics-finding-your-way.light.dddf72e4ad38.png +0 -0
  93. package/assets/screenshots/start/tut-approve-step.dark.5b773354ba35.png +0 -0
  94. package/assets/screenshots/start/tut-approve-step.light.b0224c9b1133.png +0 -0
  95. package/assets/screenshots/start/visit-notes-filtered.dark.f6fb7a707e2f.png +0 -0
  96. package/assets/screenshots/start/visit-notes-filtered.light.a4b4d64a7fc2.png +0 -0
  97. package/content/administer/explanation/sso/how-single-sign-on-works.md +2 -0
  98. package/content/administer/how-to/access/invite-end-users.md +8 -0
  99. package/content/administer/how-to/access/rule-rows-by-group-or-attribute.md +7 -0
  100. package/content/administer/how-to/apps/give-an-app-a-hostname.md +1 -1
  101. package/content/administer/how-to/sso/provision-people-with-scim.md +1 -1
  102. package/content/administer/reference/screens/branding.md +1 -1
  103. package/content/administer/reference/screens/end-users.md +3 -1
  104. package/content/administer/reference/screens/overview.md +21 -0
  105. package/content/administer/reference/screens/retention.md +3 -2
  106. package/content/administer/reference/screens/single-sign-on.md +1 -1
  107. package/content/console/how-to/app-builder/publish-an-app.md +0 -1
  108. package/content/console/how-to/data/row-rules.md +1 -0
  109. package/content/console/reference/screens/build/published-apps.md +1 -2
  110. package/content/console/reference/screens/data/tables.md +1 -1
  111. package/content/console/reference/screens/home/tenants.md +1 -1
  112. package/content/develop/explanation/api/how-the-api-knows-who-is-calling.md +10 -3
  113. package/content/develop/explanation/apps/app-access.md +29 -10
  114. package/content/develop/explanation/scripts/how-scripts-run.md +1 -1
  115. package/content/develop/how-to/apps/write-an-app.md +1 -1
  116. package/content/develop/how-to/cli/install-from-source.md +1 -1
  117. package/content/develop/how-to/cli/install-the-cli.md +1 -1
  118. package/content/develop/how-to/cli/test-a-script.md +1 -1
  119. package/content/develop/how-to/configure/set-up-from-a-script.md +1 -1
  120. package/content/develop/reference/access/mcp.md +11 -1
  121. package/content/develop/reference/apps/app-client.md +10 -8
  122. package/content/develop/reference/apps/content-policy.md +8 -3
  123. package/content/develop/reference/queries/data-as-code.md +12 -0
  124. package/content/develop/reference/tenant-widgets/what-a-view-is-given.md +1 -1
  125. package/content/develop/tutorials/cli/quickstart.md +1 -1
  126. package/content/self-host/explanation/access/index.md +1 -0
  127. package/content/self-host/explanation/access/instance-service-accounts.md +66 -0
  128. package/content/self-host/explanation/access/who-runs-what.md +2 -0
  129. package/content/self-host/explanation/running/architecture.md +1 -1
  130. package/content/self-host/explanation/running/egress-and-offline.md +1 -1
  131. package/content/self-host/explanation/running/managed-workers-and-isolation.md +35 -8
  132. package/content/self-host/explanation/running/security-hardening.md +9 -8
  133. package/content/self-host/explanation/running/sizing-and-scaling.md +29 -0
  134. package/content/self-host/how-to/instance/moving-a-tenant.md +12 -0
  135. package/content/self-host/how-to/running/back-up-an-instance.md +1 -1
  136. package/content/self-host/how-to/running/build-the-image.md +1 -1
  137. package/content/self-host/how-to/running/install-on-fly.md +27 -10
  138. package/content/self-host/how-to/running/install-with-compose.md +4 -4
  139. package/content/self-host/how-to/running/monitor-an-instance.md +2 -0
  140. package/content/self-host/how-to/running/put-a-proxy-in-front.md +7 -8
  141. package/content/self-host/how-to/running/restore-an-instance.md +34 -5
  142. package/content/self-host/how-to/running/run-a-standalone-worker.md +2 -2
  143. package/content/self-host/how-to/running/set-up-mail.md +13 -6
  144. package/content/self-host/reference/console/health.md +21 -1
  145. package/content/self-host/reference/running/configuration.md +1 -1
  146. package/content/self-host/reference/running/requirements.md +9 -2
  147. package/content/self-host/reference/running/retention.md +2 -1
  148. package/content/self-host/reference/running/troubleshooting.md +6 -1
  149. package/content/self-host/reference/running/versions-and-support.md +9 -1
  150. package/content/self-host/tutorials/install-on-one-machine.md +1 -1
  151. package/content/start/how-to/example/set-up-the-fernhill-example.md +26 -3
  152. package/content/start/index.md +11 -1
  153. package/content/start/reference/accessibility.md +35 -0
  154. package/content/start/reference/index.md +1 -0
  155. package/content/start/tutorials/index.md +6 -1
  156. package/content/start/tutorials/your-first-script.md +0 -1
  157. package/content/start/tutorials/your-first-table.md +2 -2
  158. package/dist/assets/screenshots/administer/access-changes.dark.5bf247ce0f19.png +0 -0
  159. package/dist/assets/screenshots/administer/access-changes.light.ed91948531ce.png +0 -0
  160. package/dist/assets/screenshots/administer/access-end-users.dark.4d9a5acba896.png +0 -0
  161. package/dist/assets/screenshots/administer/access-end-users.light.cef020771af1.png +0 -0
  162. package/dist/assets/screenshots/administer/access-groups.dark.aaf84e089c11.png +0 -0
  163. package/dist/assets/screenshots/administer/sso-audit-filters.dark.9aa82a2ac9c5.png +0 -0
  164. package/dist/assets/screenshots/administer/sso-audit-filters.light.5ecfdb651ace.png +0 -0
  165. package/dist/assets/screenshots/administer/{sso-branding-theme.dark.80bc3ce901a4.png → sso-branding-theme.dark.9a2c0482b3c2.png} +0 -0
  166. package/dist/assets/screenshots/administer/{sso-branding-theme.light.f48bd968481c.png → sso-branding-theme.light.7be432359625.png} +0 -0
  167. package/dist/assets/screenshots/administer/{sso-provider-setup.dark.8834ae797a50.png → sso-provider-setup.dark.bc7d126f135d.png} +0 -0
  168. package/dist/assets/screenshots/administer/sso-provider-setup.light.0cbda9279747.png +0 -0
  169. package/dist/assets/screenshots/administer/sso-workers-pools.dark.43f043620615.png +0 -0
  170. package/dist/assets/screenshots/administer/sso-workers-pools.light.25b0e09b2ff0.png +0 -0
  171. package/dist/assets/screenshots/console/account-sessions.dark.05dbf87d40a9.png +0 -0
  172. package/dist/assets/screenshots/console/account-sessions.light.2ef44c907ee5.png +0 -0
  173. package/{assets/screenshots/console/app-builder-list.dark.48340ac81e11.png → dist/assets/screenshots/console/app-builder-list.dark.124cca05b904.png} +0 -0
  174. package/{assets/screenshots/console/app-builder-list.light.85064d6742d4.png → dist/assets/screenshots/console/app-builder-list.light.082ae0464cbe.png} +0 -0
  175. package/{assets/screenshots/console/apps-list.dark.6580be4c6f17.png → dist/assets/screenshots/console/apps-list.dark.b24bb8a4fe8f.png} +0 -0
  176. package/{assets/screenshots/console/apps-list.light.35ac9711c9a0.png → dist/assets/screenshots/console/apps-list.light.fa8996fe55ff.png} +0 -0
  177. package/dist/assets/screenshots/console/{apps-share.dark.cf87c470cec4.png → apps-share.dark.0bb1a7899419.png} +0 -0
  178. package/{assets/screenshots/console/apps-share.light.eddc9c058c37.png → dist/assets/screenshots/console/apps-share.light.f26f075b3680.png} +0 -0
  179. package/dist/assets/screenshots/console/{basics-workspace-overview.dark.75d4329d6bd9.png → basics-workspace-overview.dark.678c40fa9f2a.png} +0 -0
  180. package/dist/assets/screenshots/console/{basics-workspace-overview.light.0a097241dfcb.png → basics-workspace-overview.light.86f7922860c9.png} +0 -0
  181. package/dist/assets/screenshots/console/configure-alerts-default.dark.8a2c534aa415.png +0 -0
  182. package/{assets/screenshots/console/configure-alerts.dark.3e4b58238bd2.png → dist/assets/screenshots/console/configure-alerts.dark.314fe8d7e0c6.png} +0 -0
  183. package/{assets/screenshots/console/configure-alerts.light.24608f63f849.png → dist/assets/screenshots/console/configure-alerts.light.ff5022a76eca.png} +0 -0
  184. package/dist/assets/screenshots/console/{configure-connection-sheet.dark.a8ae26d592fb.png → configure-connection-sheet.dark.41ba4383632c.png} +0 -0
  185. package/dist/assets/screenshots/console/configure-connections.dark.52147265a170.png +0 -0
  186. package/dist/assets/screenshots/console/{configure-connections.light.c3c1ec8eca52.png → configure-connections.light.8b15826634f1.png} +0 -0
  187. package/{assets/screenshots/console/dashboard-resource.dark.532f219609cc.png → dist/assets/screenshots/console/dashboard-resource.dark.4188f2810be1.png} +0 -0
  188. package/dist/assets/screenshots/console/dashboard-resource.light.8211fe9f380e.png +0 -0
  189. package/{assets/screenshots/console/dashboards-list.light.bb704dd75a30.png → dist/assets/screenshots/console/dashboards-list.light.438e3d23c888.png} +0 -0
  190. package/dist/assets/screenshots/console/extensions-editor.dark.4e5246f282e2.png +0 -0
  191. package/{assets/screenshots/console/extensions-list.light.f65bb930d029.png → dist/assets/screenshots/console/extensions-list.light.a1703d257ceb.png} +0 -0
  192. package/dist/assets/screenshots/console/flow-editor.dark.00229a94001e.png +0 -0
  193. package/dist/assets/screenshots/console/flow-editor.light.5eb68a339e84.png +0 -0
  194. package/dist/assets/screenshots/console/operate-approvals.light.1501cede2f94.png +0 -0
  195. package/dist/assets/screenshots/console/operate-cancel-by-age.dark.419042b822db.png +0 -0
  196. package/dist/assets/screenshots/console/operate-cancel-by-age.light.7d48915e9922.png +0 -0
  197. package/dist/assets/screenshots/console/operate-events.dark.2589975f7f46.png +0 -0
  198. package/dist/assets/screenshots/console/operate-events.light.c4d8d8ae8748.png +0 -0
  199. package/dist/assets/screenshots/console/operate-run-failed.dark.09addb030b58.png +0 -0
  200. package/dist/assets/screenshots/console/{operate-run-failed.light.482db87101aa.png → operate-run-failed.light.6163d2f9d3b3.png} +0 -0
  201. package/dist/assets/screenshots/console/operate-runs.dark.3bf1250f1f59.png +0 -0
  202. package/dist/assets/screenshots/console/{operate-runs.light.bccafcd93196.png → operate-runs.light.235f6baf6f3d.png} +0 -0
  203. package/dist/assets/screenshots/console/page-editor.light.3ec1f9d43475.png +0 -0
  204. package/dist/assets/screenshots/console/queries-editor.dark.ee99f9050a23.png +0 -0
  205. package/dist/assets/screenshots/console/queries-editor.light.67bd22086115.png +0 -0
  206. package/dist/assets/screenshots/console/queries-parameters.light.c471d505bbd1.png +0 -0
  207. package/dist/assets/screenshots/console/{releases-review.dark.34ec540432dc.png → releases-review.dark.091d815aa9c9.png} +0 -0
  208. package/{assets/screenshots/console/releases-review.light.7f7eea72fc90.png → dist/assets/screenshots/console/releases-review.light.a440c30d08b2.png} +0 -0
  209. package/{assets/screenshots/console/script-settings-tab.dark.976df3a2aaf0.png → dist/assets/screenshots/console/script-settings-tab.dark.5e96eedd9889.png} +0 -0
  210. package/dist/assets/screenshots/console/{scripts-test-pane.dark.6112678956ed.png → scripts-test-pane.dark.63dcff509936.png} +0 -0
  211. package/dist/assets/screenshots/console/{scripts-test-pane.light.2e1b637a8c7a.png → scripts-test-pane.light.bcef48f905b0.png} +0 -0
  212. package/dist/assets/screenshots/console/table-definition.light.b97883e1b6e0.png +0 -0
  213. package/dist/assets/screenshots/console/table-help.dark.da3a47215e6b.png +0 -0
  214. package/dist/assets/screenshots/console/table-help.light.07c67e63ef2e.png +0 -0
  215. package/dist/assets/screenshots/console/table-rows-filtered.dark.c61524c872a5.png +0 -0
  216. package/dist/assets/screenshots/console/table-rows-filtered.light.787e71f743dd.png +0 -0
  217. package/dist/assets/screenshots/console/table-rows.dark.19e2afeb688e.png +0 -0
  218. package/dist/assets/screenshots/console/table-rows.light.a9249d7b9bd5.png +0 -0
  219. package/dist/assets/screenshots/console/tut-visit-mix.dark.f1dd71da8937.png +0 -0
  220. package/{assets/screenshots/console/widgets-chart-scatter.light.e57e41675d8d.png → dist/assets/screenshots/console/widgets-chart-scatter.light.85ea38faaed8.png} +0 -0
  221. package/dist/assets/screenshots/console/widgets-phone-page.dark.360a39e459c7.png +0 -0
  222. package/{assets/screenshots/console/workspace-settings.light.3ac3bbfd9f4e.png → dist/assets/screenshots/console/workspace-settings.light.c56e7f5d80f8.png} +0 -0
  223. package/dist/assets/screenshots/docs/draft-conflict.dark.597b616abec7.png +0 -0
  224. package/dist/assets/screenshots/docs/draft-conflict.light.6d326a37e8bc.png +0 -0
  225. package/dist/assets/screenshots/docs/page-details-type.dark.2e382c8f131e.png +0 -0
  226. package/dist/assets/screenshots/self-host/extensions-component-kit.dark.ba673f636a8f.png +0 -0
  227. package/dist/assets/screenshots/self-host/extensions-component-kit.light.282da6a4c589.png +0 -0
  228. package/dist/assets/screenshots/self-host/instance-audit.dark.21de79247590.png +0 -0
  229. package/dist/assets/screenshots/self-host/instance-audit.light.dba4eaa712ed.png +0 -0
  230. package/dist/assets/screenshots/self-host/instance-branding.dark.0ddd4c2df652.png +0 -0
  231. package/dist/assets/screenshots/self-host/instance-branding.light.c3b7ffef6d4e.png +0 -0
  232. package/dist/assets/screenshots/self-host/instance-databases.dark.dd2403f84456.png +0 -0
  233. package/dist/assets/screenshots/self-host/instance-databases.light.3248546636cf.png +0 -0
  234. package/dist/assets/screenshots/self-host/instance-health.dark.5791805f72b7.png +0 -0
  235. package/dist/assets/screenshots/self-host/instance-health.light.cbfad910fc8e.png +0 -0
  236. package/dist/assets/screenshots/self-host/instance-import-check.dark.11ccf001d9f8.png +0 -0
  237. package/dist/assets/screenshots/self-host/instance-import-check.light.efbbef163d80.png +0 -0
  238. package/dist/assets/screenshots/self-host/instance-members.dark.d9fa55d364fd.png +0 -0
  239. package/dist/assets/screenshots/self-host/instance-members.light.7af6bfa48914.png +0 -0
  240. package/dist/assets/screenshots/self-host/instance-operators.dark.1326e9460224.png +0 -0
  241. package/dist/assets/screenshots/self-host/instance-operators.light.3f2cac001fb5.png +0 -0
  242. package/dist/assets/screenshots/self-host/instance-tenants.dark.ba860dc98c90.png +0 -0
  243. package/dist/assets/screenshots/self-host/instance-tenants.light.6a63877c41b3.png +0 -0
  244. package/dist/assets/screenshots/self-host/instance-triggers.dark.f2bba07895f2.png +0 -0
  245. package/dist/assets/screenshots/self-host/instance-triggers.light.dddb827e214a.png +0 -0
  246. package/dist/assets/screenshots/start/basics-finding-your-way.dark.5cc80a2d591f.png +0 -0
  247. package/dist/assets/screenshots/start/basics-finding-your-way.light.dddf72e4ad38.png +0 -0
  248. package/dist/assets/screenshots/start/tut-approve-step.dark.5b773354ba35.png +0 -0
  249. package/dist/assets/screenshots/start/tut-approve-step.light.b0224c9b1133.png +0 -0
  250. package/dist/assets/screenshots/start/visit-notes-filtered.dark.f6fb7a707e2f.png +0 -0
  251. package/dist/assets/screenshots/start/visit-notes-filtered.light.a4b4d64a7fc2.png +0 -0
  252. package/dist/fields.json +1 -1
  253. package/dist/manifest.json +1 -1
  254. package/dist/md/administer/explanation/sso/how-single-sign-on-works.md +2 -0
  255. package/dist/md/administer/how-to/access/invite-end-users.md +8 -0
  256. package/dist/md/administer/how-to/access/rule-rows-by-group-or-attribute.md +7 -0
  257. package/dist/md/administer/how-to/apps/give-an-app-a-hostname.md +1 -1
  258. package/dist/md/administer/how-to/sso/provision-people-with-scim.md +1 -1
  259. package/dist/md/administer/reference/audit-actions.md +1 -0
  260. package/dist/md/administer/reference/permissions.md +1 -0
  261. package/dist/md/administer/reference/screens/branding.md +1 -1
  262. package/dist/md/administer/reference/screens/end-users.md +3 -1
  263. package/dist/md/administer/reference/screens/overview.md +21 -0
  264. package/dist/md/administer/reference/screens/retention.md +3 -2
  265. package/dist/md/administer/reference/screens/single-sign-on.md +1 -1
  266. package/dist/md/console/how-to/app-builder/publish-an-app.md +0 -1
  267. package/dist/md/console/how-to/data/row-rules.md +1 -0
  268. package/dist/md/console/reference/screens/build/published-apps.md +1 -2
  269. package/dist/md/console/reference/screens/data/tables.md +1 -1
  270. package/dist/md/console/reference/screens/home/tenants.md +1 -1
  271. package/dist/md/develop/explanation/api/how-the-api-knows-who-is-calling.md +10 -3
  272. package/dist/md/develop/explanation/apps/app-access.md +29 -10
  273. package/dist/md/develop/explanation/scripts/how-scripts-run.md +1 -1
  274. package/dist/md/develop/how-to/apps/write-an-app.md +1 -1
  275. package/dist/md/develop/how-to/cli/install-from-source.md +1 -1
  276. package/dist/md/develop/how-to/cli/install-the-cli.md +1 -1
  277. package/dist/md/develop/how-to/cli/test-a-script.md +1 -1
  278. package/dist/md/develop/how-to/configure/set-up-from-a-script.md +1 -1
  279. package/dist/md/develop/reference/access/mcp.md +11 -1
  280. package/dist/md/develop/reference/api/agents.md +27 -1
  281. package/dist/md/develop/reference/api/apps.md +25 -1
  282. package/dist/md/develop/reference/api/end-users.md +71 -6
  283. package/dist/md/develop/reference/api/figures.md +160 -0
  284. package/dist/md/develop/reference/api/identity.md +318 -1
  285. package/dist/md/develop/reference/api/index.md +7 -6
  286. package/dist/md/develop/reference/api/instance.md +59 -1
  287. package/dist/md/develop/reference/api/permissions.md +13 -4
  288. package/dist/md/develop/reference/api/tenancy.md +13 -0
  289. package/dist/md/develop/reference/apps/app-client.md +10 -8
  290. package/dist/md/develop/reference/apps/content-policy.md +8 -3
  291. package/dist/md/develop/reference/errors.md +6 -0
  292. package/dist/md/develop/reference/kinds/dashboard.md +10 -0
  293. package/dist/md/develop/reference/kinds/interface.md +10 -0
  294. package/dist/md/develop/reference/kinds/widget.md +1 -1
  295. package/dist/md/develop/reference/queries/data-as-code.md +12 -0
  296. package/dist/md/develop/reference/sdk/sdk.md +1 -1
  297. package/dist/md/develop/reference/sdk/widgets-page.md +13 -0
  298. package/dist/md/develop/reference/sdk/widgets.md +2 -2
  299. package/dist/md/develop/reference/tenant-widgets/what-a-view-is-given.md +1 -1
  300. package/dist/md/develop/reference/widgets/chart.md +1 -1
  301. package/dist/md/develop/reference/widgets/goal.md +1 -1
  302. package/dist/md/develop/reference/widgets/pivot.md +1 -1
  303. package/dist/md/develop/reference/widgets/stat.md +1 -1
  304. package/dist/md/develop/tutorials/cli/quickstart.md +1 -1
  305. package/dist/md/self-host/explanation/access/index.md +1 -0
  306. package/dist/md/self-host/explanation/access/instance-service-accounts.md +66 -0
  307. package/dist/md/self-host/explanation/access/who-runs-what.md +2 -0
  308. package/dist/md/self-host/explanation/running/architecture.md +1 -1
  309. package/dist/md/self-host/explanation/running/egress-and-offline.md +1 -1
  310. package/dist/md/self-host/explanation/running/managed-workers-and-isolation.md +35 -8
  311. package/dist/md/self-host/explanation/running/security-hardening.md +9 -8
  312. package/dist/md/self-host/explanation/running/sizing-and-scaling.md +29 -0
  313. package/dist/md/self-host/how-to/instance/moving-a-tenant.md +12 -0
  314. package/dist/md/self-host/how-to/running/back-up-an-instance.md +1 -1
  315. package/dist/md/self-host/how-to/running/build-the-image.md +1 -1
  316. package/dist/md/self-host/how-to/running/install-on-fly.md +27 -10
  317. package/dist/md/self-host/how-to/running/install-with-compose.md +4 -4
  318. package/dist/md/self-host/how-to/running/monitor-an-instance.md +2 -0
  319. package/dist/md/self-host/how-to/running/put-a-proxy-in-front.md +7 -8
  320. package/dist/md/self-host/how-to/running/restore-an-instance.md +34 -5
  321. package/dist/md/self-host/how-to/running/run-a-standalone-worker.md +2 -2
  322. package/dist/md/self-host/how-to/running/set-up-mail.md +13 -6
  323. package/dist/md/self-host/reference/console/health.md +21 -1
  324. package/dist/md/self-host/reference/running/configuration.md +1 -1
  325. package/dist/md/self-host/reference/running/requirements.md +9 -2
  326. package/dist/md/self-host/reference/running/retention.md +2 -1
  327. package/dist/md/self-host/reference/running/troubleshooting.md +6 -1
  328. package/dist/md/self-host/reference/running/versions-and-support.md +9 -1
  329. package/dist/md/self-host/reference/settings.md +2 -2
  330. package/dist/md/self-host/tutorials/install-on-one-machine.md +1 -1
  331. package/dist/md/start/how-to/example/set-up-the-fernhill-example.md +26 -3
  332. package/dist/md/start/index.md +11 -1
  333. package/dist/md/start/reference/accessibility.md +35 -0
  334. package/dist/md/start/reference/changelog/0-7-0.md +208 -0
  335. package/dist/md/start/reference/index.md +1 -0
  336. package/dist/md/start/tutorials/index.md +6 -1
  337. package/dist/md/start/tutorials/your-first-script.md +0 -1
  338. package/dist/md/start/tutorials/your-first-table.md +2 -2
  339. package/dist/pages/administer/explanation/sso/how-single-sign-on-works.json +1 -1
  340. package/dist/pages/administer/how-to/access/invite-end-users.json +1 -1
  341. package/dist/pages/administer/how-to/access/rule-rows-by-group-or-attribute.json +1 -1
  342. package/dist/pages/administer/how-to/apps/give-an-app-a-hostname.json +1 -1
  343. package/dist/pages/administer/how-to/sso/provision-people-with-scim.json +1 -1
  344. package/dist/pages/administer/reference/audit-actions.json +1 -1
  345. package/dist/pages/administer/reference/permissions.json +1 -1
  346. package/dist/pages/administer/reference/screens/branding.json +1 -1
  347. package/dist/pages/administer/reference/screens/end-users.json +1 -1
  348. package/dist/pages/administer/reference/screens/overview.json +1 -1
  349. package/dist/pages/administer/reference/screens/retention.json +1 -1
  350. package/dist/pages/administer/reference/screens/single-sign-on.json +1 -1
  351. package/dist/pages/console/how-to/app-builder/publish-an-app.json +1 -1
  352. package/dist/pages/console/how-to/data/row-rules.json +1 -1
  353. package/dist/pages/console/reference/screens/build/published-apps.json +1 -1
  354. package/dist/pages/console/reference/screens/data/tables.json +1 -1
  355. package/dist/pages/console/reference/screens/home/tenants.json +1 -1
  356. package/dist/pages/develop/explanation/api/how-the-api-knows-who-is-calling.json +1 -1
  357. package/dist/pages/develop/explanation/apps/app-access.json +1 -1
  358. package/dist/pages/develop/explanation/scripts/how-scripts-run.json +1 -1
  359. package/dist/pages/develop/how-to/apps/write-an-app.json +1 -1
  360. package/dist/pages/develop/how-to/cli/install-from-source.json +1 -1
  361. package/dist/pages/develop/how-to/cli/install-the-cli.json +1 -1
  362. package/dist/pages/develop/how-to/cli/test-a-script.json +1 -1
  363. package/dist/pages/develop/how-to/configure/set-up-from-a-script.json +1 -1
  364. package/dist/pages/develop/reference/access/mcp.json +1 -1
  365. package/dist/pages/develop/reference/api/agents.json +1 -1
  366. package/dist/pages/develop/reference/api/apps.json +1 -1
  367. package/dist/pages/develop/reference/api/end-users.json +1 -1
  368. package/dist/pages/develop/reference/api/figures.json +1 -0
  369. package/dist/pages/develop/reference/api/identity.json +1 -1
  370. package/dist/pages/develop/reference/api/index.json +1 -1
  371. package/dist/pages/develop/reference/api/instance.json +1 -1
  372. package/dist/pages/develop/reference/api/permissions.json +1 -1
  373. package/dist/pages/develop/reference/api/tenancy.json +1 -1
  374. package/dist/pages/develop/reference/apps/app-client.json +1 -1
  375. package/dist/pages/develop/reference/apps/content-policy.json +1 -1
  376. package/dist/pages/develop/reference/errors.json +1 -1
  377. package/dist/pages/develop/reference/kinds/dashboard.json +1 -1
  378. package/dist/pages/develop/reference/kinds/interface.json +1 -1
  379. package/dist/pages/develop/reference/kinds/widget.json +1 -1
  380. package/dist/pages/develop/reference/queries/data-as-code.json +1 -1
  381. package/dist/pages/develop/reference/sdk/sdk.json +1 -1
  382. package/dist/pages/develop/reference/sdk/widgets-page.json +1 -1
  383. package/dist/pages/develop/reference/sdk/widgets.json +1 -1
  384. package/dist/pages/develop/reference/tenant-widgets/what-a-view-is-given.json +1 -1
  385. package/dist/pages/develop/reference/widgets/chart.json +1 -1
  386. package/dist/pages/develop/reference/widgets/goal.json +1 -1
  387. package/dist/pages/develop/reference/widgets/pivot.json +1 -1
  388. package/dist/pages/develop/reference/widgets/stat.json +1 -1
  389. package/dist/pages/develop/tutorials/cli/quickstart.json +1 -1
  390. package/dist/pages/self-host/explanation/access/index.json +1 -1
  391. package/dist/pages/self-host/explanation/access/instance-service-accounts.json +1 -0
  392. package/dist/pages/self-host/explanation/access/who-runs-what.json +1 -1
  393. package/dist/pages/self-host/explanation/running/architecture.json +1 -1
  394. package/dist/pages/self-host/explanation/running/egress-and-offline.json +1 -1
  395. package/dist/pages/self-host/explanation/running/managed-workers-and-isolation.json +1 -1
  396. package/dist/pages/self-host/explanation/running/security-hardening.json +1 -1
  397. package/dist/pages/self-host/explanation/running/sizing-and-scaling.json +1 -1
  398. package/dist/pages/self-host/how-to/instance/moving-a-tenant.json +1 -1
  399. package/dist/pages/self-host/how-to/running/back-up-an-instance.json +1 -1
  400. package/dist/pages/self-host/how-to/running/build-the-image.json +1 -1
  401. package/dist/pages/self-host/how-to/running/install-on-fly.json +1 -1
  402. package/dist/pages/self-host/how-to/running/install-with-compose.json +1 -1
  403. package/dist/pages/self-host/how-to/running/monitor-an-instance.json +1 -1
  404. package/dist/pages/self-host/how-to/running/put-a-proxy-in-front.json +1 -1
  405. package/dist/pages/self-host/how-to/running/restore-an-instance.json +1 -1
  406. package/dist/pages/self-host/how-to/running/run-a-standalone-worker.json +1 -1
  407. package/dist/pages/self-host/how-to/running/set-up-mail.json +1 -1
  408. package/dist/pages/self-host/reference/console/health.json +1 -1
  409. package/dist/pages/self-host/reference/running/configuration.json +1 -1
  410. package/dist/pages/self-host/reference/running/requirements.json +1 -1
  411. package/dist/pages/self-host/reference/running/retention.json +1 -1
  412. package/dist/pages/self-host/reference/running/troubleshooting.json +1 -1
  413. package/dist/pages/self-host/reference/running/versions-and-support.json +1 -1
  414. package/dist/pages/self-host/reference/settings.json +1 -1
  415. package/dist/pages/self-host/tutorials/install-on-one-machine.json +1 -1
  416. package/dist/pages/start/how-to/example/set-up-the-fernhill-example.json +1 -1
  417. package/dist/pages/start/index.json +1 -1
  418. package/dist/pages/start/reference/accessibility.json +1 -0
  419. package/dist/pages/start/reference/changelog/0-7-0.json +1 -0
  420. package/dist/pages/start/reference/index.json +1 -1
  421. package/dist/pages/start/tutorials/index.json +1 -1
  422. package/dist/pages/start/tutorials/your-first-script.json +1 -1
  423. package/dist/pages/start/tutorials/your-first-table.json +1 -1
  424. package/dist/redirects.json +1 -1
  425. package/dist/search.json +1 -1
  426. package/generated/administer/reference/audit-actions.md +1 -0
  427. package/generated/administer/reference/permissions.md +1 -0
  428. package/generated/develop/reference/api/agents.md +27 -1
  429. package/generated/develop/reference/api/apps.md +25 -1
  430. package/generated/develop/reference/api/end-users.md +71 -6
  431. package/generated/develop/reference/api/figures.md +160 -0
  432. package/generated/develop/reference/api/identity.md +318 -1
  433. package/generated/develop/reference/api/index.md +7 -6
  434. package/generated/develop/reference/api/instance.md +59 -1
  435. package/generated/develop/reference/api/permissions.md +13 -4
  436. package/generated/develop/reference/api/tenancy.md +13 -0
  437. package/generated/develop/reference/errors.md +6 -0
  438. package/generated/develop/reference/kinds/dashboard.md +10 -0
  439. package/generated/develop/reference/kinds/interface.md +10 -0
  440. package/generated/develop/reference/kinds/widget.md +1 -1
  441. package/generated/develop/reference/sdk/sdk.md +1 -1
  442. package/generated/develop/reference/sdk/widgets-page.md +13 -0
  443. package/generated/develop/reference/sdk/widgets.md +2 -2
  444. package/generated/develop/reference/widgets/chart.md +1 -1
  445. package/generated/develop/reference/widgets/goal.md +1 -1
  446. package/generated/develop/reference/widgets/pivot.md +1 -1
  447. package/generated/develop/reference/widgets/stat.md +1 -1
  448. package/generated/openapi.json +4899 -1734
  449. package/generated/self-host/reference/settings.md +2 -2
  450. package/generated/start/reference/changelog/0-7-0.md +208 -0
  451. package/package.json +11 -6
  452. package/assets/screenshots/administer/access-changes.dark.5b3255fafe5c.png +0 -0
  453. package/assets/screenshots/administer/access-changes.light.cff6913107a3.png +0 -0
  454. package/assets/screenshots/administer/access-end-users.dark.c0d4e526952b.png +0 -0
  455. package/assets/screenshots/administer/access-end-users.light.b3368747a4d3.png +0 -0
  456. package/assets/screenshots/administer/access-groups.dark.bff155b79a2c.png +0 -0
  457. package/assets/screenshots/administer/sso-audit-filters.dark.b6a4dc01aa2c.png +0 -0
  458. package/assets/screenshots/administer/sso-audit-filters.light.1a295f8a94ff.png +0 -0
  459. package/assets/screenshots/administer/sso-provider-setup.light.b7e337ee30fb.png +0 -0
  460. package/assets/screenshots/administer/sso-workers-pools.dark.2270cb13aaab.png +0 -0
  461. package/assets/screenshots/administer/sso-workers-pools.light.1efebb29f50c.png +0 -0
  462. package/assets/screenshots/console/account-sessions.dark.678e11711e06.png +0 -0
  463. package/assets/screenshots/console/account-sessions.light.d742e8f3d3d1.png +0 -0
  464. package/assets/screenshots/console/configure-alerts-default.dark.425955f71c50.png +0 -0
  465. package/assets/screenshots/console/configure-connections.dark.7b64ffab4c8c.png +0 -0
  466. package/assets/screenshots/console/dashboard-resource.light.55b36abe8e0e.png +0 -0
  467. package/assets/screenshots/console/extensions-editor.dark.ebb816369d53.png +0 -0
  468. package/assets/screenshots/console/flow-editor.dark.caab11f209cb.png +0 -0
  469. package/assets/screenshots/console/flow-editor.light.bfc7e6b366dc.png +0 -0
  470. package/assets/screenshots/console/operate-approvals.light.36987d0a4c62.png +0 -0
  471. package/assets/screenshots/console/operate-cancel-by-age.dark.2786b42ecfbe.png +0 -0
  472. package/assets/screenshots/console/operate-cancel-by-age.light.8ef6601ebbe7.png +0 -0
  473. package/assets/screenshots/console/operate-events.dark.7067e88d771e.png +0 -0
  474. package/assets/screenshots/console/operate-events.light.b58a8c7f0b04.png +0 -0
  475. package/assets/screenshots/console/operate-run-failed.dark.eb8c52a9fcf7.png +0 -0
  476. package/assets/screenshots/console/operate-runs.dark.ae45d93820b3.png +0 -0
  477. package/assets/screenshots/console/page-editor.light.2023b176d1a0.png +0 -0
  478. package/assets/screenshots/console/queries-editor.dark.b0ef383c3b90.png +0 -0
  479. package/assets/screenshots/console/queries-editor.light.8e413390ad34.png +0 -0
  480. package/assets/screenshots/console/queries-parameters.light.9bca851e025c.png +0 -0
  481. package/assets/screenshots/console/table-definition.light.ff11cce13c18.png +0 -0
  482. package/assets/screenshots/console/table-help.dark.bc35e748426c.png +0 -0
  483. package/assets/screenshots/console/table-help.light.fb1b109ee396.png +0 -0
  484. package/assets/screenshots/console/table-rows-filtered.dark.6fab42faa122.png +0 -0
  485. package/assets/screenshots/console/table-rows-filtered.light.aa9881d95f4d.png +0 -0
  486. package/assets/screenshots/console/table-rows.dark.4ce02d5478c9.png +0 -0
  487. package/assets/screenshots/console/table-rows.light.a1f7d91a9e77.png +0 -0
  488. package/assets/screenshots/console/tut-visit-mix.dark.724c62999f95.png +0 -0
  489. package/assets/screenshots/console/widgets-phone-page.dark.386738c3e5fb.png +0 -0
  490. package/assets/screenshots/docs/draft-conflict.dark.894a4f116020.png +0 -0
  491. package/assets/screenshots/docs/draft-conflict.light.c5187649da9a.png +0 -0
  492. package/assets/screenshots/docs/page-details-type.dark.26fda0943a41.png +0 -0
  493. package/assets/screenshots/self-host/extensions-component-kit.dark.95cf642b62b6.png +0 -0
  494. package/assets/screenshots/self-host/extensions-component-kit.light.d4d7ae43474d.png +0 -0
  495. package/assets/screenshots/self-host/instance-audit.dark.eabb7e1545a2.png +0 -0
  496. package/assets/screenshots/self-host/instance-audit.light.e0704c3e2f3c.png +0 -0
  497. package/assets/screenshots/self-host/instance-branding.dark.65706ba2f266.png +0 -0
  498. package/assets/screenshots/self-host/instance-branding.light.53ef9943efc1.png +0 -0
  499. package/assets/screenshots/self-host/instance-databases.dark.17e36475132c.png +0 -0
  500. package/assets/screenshots/self-host/instance-databases.light.6bd31df9f812.png +0 -0
  501. package/assets/screenshots/self-host/instance-health.dark.7ddc9725c6e5.png +0 -0
  502. package/assets/screenshots/self-host/instance-health.light.5d8697f0135a.png +0 -0
  503. package/assets/screenshots/self-host/instance-import-check.dark.b54f53b17e5e.png +0 -0
  504. package/assets/screenshots/self-host/instance-import-check.light.b33217f8efdf.png +0 -0
  505. package/assets/screenshots/self-host/instance-members.dark.3f319a2912d7.png +0 -0
  506. package/assets/screenshots/self-host/instance-members.light.3f90be8b0556.png +0 -0
  507. package/assets/screenshots/self-host/instance-operators.dark.fb0fcc88cc66.png +0 -0
  508. package/assets/screenshots/self-host/instance-operators.light.038f3f725bec.png +0 -0
  509. package/assets/screenshots/self-host/instance-tenants.dark.1f2501ef99c1.png +0 -0
  510. package/assets/screenshots/self-host/instance-tenants.light.9c1b997a9f5b.png +0 -0
  511. package/assets/screenshots/self-host/instance-triggers.dark.2c3cffed2649.png +0 -0
  512. package/assets/screenshots/self-host/instance-triggers.light.b0a06ee78d65.png +0 -0
  513. package/assets/screenshots/start/basics-finding-your-way.dark.05cc7d67b47c.png +0 -0
  514. package/assets/screenshots/start/basics-finding-your-way.light.45790efbcb57.png +0 -0
  515. package/assets/screenshots/start/tut-approve-step.dark.dc691e002e9e.png +0 -0
  516. package/assets/screenshots/start/tut-approve-step.light.9c219b4d2d1a.png +0 -0
  517. package/assets/screenshots/start/visit-notes-filtered.dark.f26ec0b4168c.png +0 -0
  518. package/assets/screenshots/start/visit-notes-filtered.light.841ac7004f1c.png +0 -0
  519. package/dist/assets/screenshots/administer/access-changes.dark.5b3255fafe5c.png +0 -0
  520. package/dist/assets/screenshots/administer/access-changes.light.cff6913107a3.png +0 -0
  521. package/dist/assets/screenshots/administer/access-end-users.dark.c0d4e526952b.png +0 -0
  522. package/dist/assets/screenshots/administer/access-end-users.light.b3368747a4d3.png +0 -0
  523. package/dist/assets/screenshots/administer/access-groups.dark.bff155b79a2c.png +0 -0
  524. package/dist/assets/screenshots/administer/sso-audit-filters.dark.b6a4dc01aa2c.png +0 -0
  525. package/dist/assets/screenshots/administer/sso-audit-filters.light.1a295f8a94ff.png +0 -0
  526. package/dist/assets/screenshots/administer/sso-provider-setup.light.b7e337ee30fb.png +0 -0
  527. package/dist/assets/screenshots/administer/sso-workers-pools.dark.2270cb13aaab.png +0 -0
  528. package/dist/assets/screenshots/administer/sso-workers-pools.light.1efebb29f50c.png +0 -0
  529. package/dist/assets/screenshots/console/account-sessions.dark.678e11711e06.png +0 -0
  530. package/dist/assets/screenshots/console/account-sessions.light.d742e8f3d3d1.png +0 -0
  531. package/dist/assets/screenshots/console/configure-alerts-default.dark.425955f71c50.png +0 -0
  532. package/dist/assets/screenshots/console/configure-connections.dark.7b64ffab4c8c.png +0 -0
  533. package/dist/assets/screenshots/console/dashboard-resource.light.55b36abe8e0e.png +0 -0
  534. package/dist/assets/screenshots/console/extensions-editor.dark.ebb816369d53.png +0 -0
  535. package/dist/assets/screenshots/console/flow-editor.dark.caab11f209cb.png +0 -0
  536. package/dist/assets/screenshots/console/flow-editor.light.bfc7e6b366dc.png +0 -0
  537. package/dist/assets/screenshots/console/operate-approvals.light.36987d0a4c62.png +0 -0
  538. package/dist/assets/screenshots/console/operate-cancel-by-age.dark.2786b42ecfbe.png +0 -0
  539. package/dist/assets/screenshots/console/operate-cancel-by-age.light.8ef6601ebbe7.png +0 -0
  540. package/dist/assets/screenshots/console/operate-events.dark.7067e88d771e.png +0 -0
  541. package/dist/assets/screenshots/console/operate-events.light.b58a8c7f0b04.png +0 -0
  542. package/dist/assets/screenshots/console/operate-run-failed.dark.eb8c52a9fcf7.png +0 -0
  543. package/dist/assets/screenshots/console/operate-runs.dark.ae45d93820b3.png +0 -0
  544. package/dist/assets/screenshots/console/page-editor.light.2023b176d1a0.png +0 -0
  545. package/dist/assets/screenshots/console/queries-editor.dark.b0ef383c3b90.png +0 -0
  546. package/dist/assets/screenshots/console/queries-editor.light.8e413390ad34.png +0 -0
  547. package/dist/assets/screenshots/console/queries-parameters.light.9bca851e025c.png +0 -0
  548. package/dist/assets/screenshots/console/table-definition.light.ff11cce13c18.png +0 -0
  549. package/dist/assets/screenshots/console/table-help.dark.bc35e748426c.png +0 -0
  550. package/dist/assets/screenshots/console/table-help.light.fb1b109ee396.png +0 -0
  551. package/dist/assets/screenshots/console/table-rows-filtered.dark.6fab42faa122.png +0 -0
  552. package/dist/assets/screenshots/console/table-rows-filtered.light.aa9881d95f4d.png +0 -0
  553. package/dist/assets/screenshots/console/table-rows.dark.4ce02d5478c9.png +0 -0
  554. package/dist/assets/screenshots/console/table-rows.light.a1f7d91a9e77.png +0 -0
  555. package/dist/assets/screenshots/console/tut-visit-mix.dark.724c62999f95.png +0 -0
  556. package/dist/assets/screenshots/console/widgets-phone-page.dark.386738c3e5fb.png +0 -0
  557. package/dist/assets/screenshots/docs/draft-conflict.dark.894a4f116020.png +0 -0
  558. package/dist/assets/screenshots/docs/draft-conflict.light.c5187649da9a.png +0 -0
  559. package/dist/assets/screenshots/docs/page-details-type.dark.26fda0943a41.png +0 -0
  560. package/dist/assets/screenshots/self-host/extensions-component-kit.dark.95cf642b62b6.png +0 -0
  561. package/dist/assets/screenshots/self-host/extensions-component-kit.light.d4d7ae43474d.png +0 -0
  562. package/dist/assets/screenshots/self-host/instance-audit.dark.eabb7e1545a2.png +0 -0
  563. package/dist/assets/screenshots/self-host/instance-audit.light.e0704c3e2f3c.png +0 -0
  564. package/dist/assets/screenshots/self-host/instance-branding.dark.65706ba2f266.png +0 -0
  565. package/dist/assets/screenshots/self-host/instance-branding.light.53ef9943efc1.png +0 -0
  566. package/dist/assets/screenshots/self-host/instance-databases.dark.17e36475132c.png +0 -0
  567. package/dist/assets/screenshots/self-host/instance-databases.light.6bd31df9f812.png +0 -0
  568. package/dist/assets/screenshots/self-host/instance-health.dark.7ddc9725c6e5.png +0 -0
  569. package/dist/assets/screenshots/self-host/instance-health.light.5d8697f0135a.png +0 -0
  570. package/dist/assets/screenshots/self-host/instance-import-check.dark.b54f53b17e5e.png +0 -0
  571. package/dist/assets/screenshots/self-host/instance-import-check.light.b33217f8efdf.png +0 -0
  572. package/dist/assets/screenshots/self-host/instance-members.dark.3f319a2912d7.png +0 -0
  573. package/dist/assets/screenshots/self-host/instance-members.light.3f90be8b0556.png +0 -0
  574. package/dist/assets/screenshots/self-host/instance-operators.dark.fb0fcc88cc66.png +0 -0
  575. package/dist/assets/screenshots/self-host/instance-operators.light.038f3f725bec.png +0 -0
  576. package/dist/assets/screenshots/self-host/instance-tenants.dark.1f2501ef99c1.png +0 -0
  577. package/dist/assets/screenshots/self-host/instance-tenants.light.9c1b997a9f5b.png +0 -0
  578. package/dist/assets/screenshots/self-host/instance-triggers.dark.2c3cffed2649.png +0 -0
  579. package/dist/assets/screenshots/self-host/instance-triggers.light.b0a06ee78d65.png +0 -0
  580. package/dist/assets/screenshots/start/basics-finding-your-way.dark.05cc7d67b47c.png +0 -0
  581. package/dist/assets/screenshots/start/basics-finding-your-way.light.45790efbcb57.png +0 -0
  582. package/dist/assets/screenshots/start/tut-approve-step.dark.dc691e002e9e.png +0 -0
  583. package/dist/assets/screenshots/start/tut-approve-step.light.9c219b4d2d1a.png +0 -0
  584. package/dist/assets/screenshots/start/visit-notes-filtered.dark.f26ec0b4168c.png +0 -0
  585. package/dist/assets/screenshots/start/visit-notes-filtered.light.841ac7004f1c.png +0 -0
@@ -1 +1 @@
1
- {"path":"self-host/reference/settings","title":"Settings","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"An instance is set up by environment variables and by nothing else. It reads them once, when it starts, and says everything that is wrong with them at once.","line":8}],"line":8},{"type":"heading","depth":2,"id":"address","children":[{"type":"text","value":"Address","line":10}],"line":10},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":12}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":12}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":12}]}],"line":12},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"PUBLIC_URL","line":14}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"The instance does not start.","line":14}],"line":14}]},{"type":"tableCell","children":[{"type":"text","value":"The address people type to reach the console, such as ","line":14},{"type":"inlineCode","value":"https://volvel.example.com","line":14},{"type":"text","value":".","line":14}]}],"line":14},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"HOST","line":15}]},{"type":"tableCell","children":[{"type":"text","value":"0.0.0.0","line":15}]},{"type":"tableCell","children":[{"type":"text","value":"The address the server listens on.","line":15}]}],"line":15},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"PORT","line":16}]},{"type":"tableCell","children":[{"type":"text","value":"8080","line":16}]},{"type":"tableCell","children":[{"type":"text","value":"The port the server listens on.","line":16}]}],"line":16},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"LOG_LEVEL","line":17}]},{"type":"tableCell","children":[{"type":"text","value":"info","line":17}]},{"type":"tableCell","children":[{"type":"text","value":"How much is logged: ","line":17},{"type":"inlineCode","value":"fatal","line":17},{"type":"text","value":", ","line":17},{"type":"inlineCode","value":"error","line":17},{"type":"text","value":", ","line":17},{"type":"inlineCode","value":"warn","line":17},{"type":"text","value":", ","line":17},{"type":"inlineCode","value":"info","line":17},{"type":"text","value":", ","line":17},{"type":"inlineCode","value":"debug","line":17},{"type":"text","value":", ","line":17},{"type":"inlineCode","value":"trace","line":17},{"type":"text","value":" or ","line":17},{"type":"inlineCode","value":"silent","line":17},{"type":"text","value":".","line":17}]}],"line":17},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"DOCS_URL","line":18}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The address of the documentation on the web, such as ","line":18},{"type":"inlineCode","value":"https://docs.example.com","line":18},{"type":"text","value":". With it, each page of the console's help offers to open online. Without it, the help is only the copy the instance carries.","line":18}]}],"line":18}],"line":12},{"type":"heading","depth":2,"id":"database","children":[{"type":"text","value":"Database","line":20}],"line":20},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":22}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":22}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":22}]}],"line":22},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"DATABASE_URL","line":24}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"The instance does not start.","line":24}],"line":24}]},{"type":"tableCell","children":[{"type":"text","value":"The Postgres the instance keeps everything in, as ","line":24},{"type":"inlineCode","value":"postgres://user:password@host:port/database","line":24},{"type":"text","value":". Keep it secret.","line":24}]}],"line":24},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"DATABASE_POOL_SIZE","line":25}]},{"type":"tableCell","children":[{"type":"text","value":"10","line":25}]},{"type":"tableCell","children":[{"type":"text","value":"Connections for the instance's own work, for each replica.","line":25}]}],"line":25},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"DATA_POOL_SIZE","line":26}]},{"type":"tableCell","children":[{"type":"text","value":"10","line":26}]},{"type":"tableCell","children":[{"type":"text","value":"Connections for every tenant's table requests, for each replica.","line":26}]}],"line":26},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"DATA_TENANT_CONNECTIONS","line":27}]},{"type":"tableCell","children":[{"type":"text","value":"A third of ","line":27},{"type":"inlineCode","value":"DATA_POOL_SIZE","line":27},{"type":"text","value":", at least 2","line":27}]},{"type":"tableCell","children":[{"type":"text","value":"Table requests one tenant may have open at once, for each replica.","line":27}]}],"line":27},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"DATA_STATEMENT_TIMEOUT_MS","line":28}]},{"type":"tableCell","children":[{"type":"text","value":"15000","line":28}]},{"type":"tableCell","children":[{"type":"text","value":"How long one request for rows may take, in milliseconds.","line":28}]}],"line":28},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"SQL_STATEMENT_TIMEOUT_MS","line":29}]},{"type":"tableCell","children":[{"type":"text","value":"15000","line":29}]},{"type":"tableCell","children":[{"type":"text","value":"How long one query written in SQL may run before it is stopped, in milliseconds.","line":29}]}],"line":29}],"line":22},{"type":"heading","depth":2,"id":"files","children":[{"type":"text","value":"Files","line":31}],"line":31},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":33}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":33}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":33}]}],"line":33},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"S3_ENDPOINT","line":35}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The address of the S3-compatible store. Left out, Amazon's own for the region.","line":35}]}],"line":35},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"S3_REGION","line":36}]},{"type":"tableCell","children":[{"type":"text","value":"us-east-1","line":36}]},{"type":"tableCell","children":[{"type":"text","value":"The store's region.","line":36}]}],"line":36},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"S3_BUCKET","line":37}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"The instance does not start.","line":37}],"line":37}]},{"type":"tableCell","children":[{"type":"text","value":"The bucket files are kept in.","line":37}]}],"line":37},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"S3_ACCESS_KEY_ID","line":38}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"The instance does not start.","line":38}],"line":38}]},{"type":"tableCell","children":[{"type":"text","value":"The key the store knows the instance by.","line":38}]}],"line":38},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"S3_SECRET_ACCESS_KEY","line":39}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"The instance does not start.","line":39}],"line":39}]},{"type":"tableCell","children":[{"type":"text","value":"The secret that goes with ","line":39},{"type":"inlineCode","value":"S3_ACCESS_KEY_ID","line":39},{"type":"text","value":". Keep it secret.","line":39}]}],"line":39},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"S3_FORCE_PATH_STYLE","line":40}]},{"type":"tableCell","children":[{"type":"text","value":"true","line":40}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"true","line":40},{"type":"text","value":" puts the bucket in the path, as most stores other than Amazon's need. ","line":40},{"type":"inlineCode","value":"false","line":40},{"type":"text","value":" puts it in the hostname.","line":40}]}],"line":40}],"line":33},{"type":"heading","depth":2,"id":"secrets","children":[{"type":"text","value":"Secrets","line":42}],"line":42},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":44}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":44}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":44}]}],"line":44},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"AUTH_SECRET","line":46}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"The instance does not start.","line":46}],"line":46}]},{"type":"tableCell","children":[{"type":"text","value":"Signs session cookies. At least 32 characters: ","line":46},{"type":"inlineCode","value":"openssl rand -hex 32","line":46},{"type":"text","value":". Keep it secret.","line":46}]}],"line":46},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MASTER_KEY","line":47}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"The instance does not start.","line":47}],"line":47}]},{"type":"tableCell","children":[{"type":"text","value":"Wraps every tenant's encryption key. 32 bytes, base64: ","line":47},{"type":"inlineCode","value":"openssl rand -base64 32","line":47},{"type":"text","value":". Keep a copy somewhere safe: without it no stored secret can be read again. Keep it secret.","line":47}]}],"line":47},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MASTER_KEY_SECONDARY","line":48}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The other key while the master key is being rotated. Keep it secret.","line":48}]}],"line":48},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"METRICS_TOKEN","line":49}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Lets a scraper read the metrics with this token and no sign-in. At least 32 characters. Keep it secret.","line":49}]}],"line":49}],"line":44},{"type":"heading","depth":2,"id":"first-start","children":[{"type":"text","value":"First start","line":51}],"line":51},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":53}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":53}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":53}]}],"line":53},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"BOOTSTRAP_ADMIN_EMAIL","line":55}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The first operator, made when the instance has no members. Set with ","line":55},{"type":"inlineCode","value":"BOOTSTRAP_ADMIN_PASSWORD","line":55},{"type":"text","value":", and remove both after the first start.","line":55}]}],"line":55},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"BOOTSTRAP_ADMIN_PASSWORD","line":56}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The first operator's password. At least 12 characters. Keep it secret.","line":56}]}],"line":56}],"line":53},{"type":"heading","depth":2,"id":"apps","children":[{"type":"text","value":"Apps","line":58}],"line":58},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":60}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":60}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":60}]}],"line":60},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"APPS_URL","line":62}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"A second address for apps written as code, such as ","line":62},{"type":"inlineCode","value":"https://apps.example.com","line":62},{"type":"text","value":". Without it they are not served, unless ","line":62},{"type":"inlineCode","value":"APPS_ON_CONSOLE_ADDRESS","line":62},{"type":"text","value":" says so.","line":62}]}],"line":62},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"APPS_ON_CONSOLE_ADDRESS","line":63}]},{"type":"tableCell","children":[{"type":"text","value":"false","line":63}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"true","line":63},{"type":"text","value":" serves apps written as code at the console's own address. Only where everyone who writes an app is trusted with the console.","line":63}]}],"line":63}],"line":60},{"type":"heading","depth":2,"id":"workers","children":[{"type":"text","value":"Workers","line":65}],"line":65},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":67}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":67}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":67}]}],"line":67},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MANAGED_WORKERS","line":69}]},{"type":"tableCell","children":[{"type":"text","value":"process","line":69}]},{"type":"tableCell","children":[{"type":"text","value":"How tenants' workers are started: ","line":69},{"type":"inlineCode","value":"host","line":69},{"type":"text","value":" by the worker host, ","line":69},{"type":"inlineCode","value":"process","line":69},{"type":"text","value":" by the control plane itself, or ","line":69},{"type":"inlineCode","value":"false","line":69},{"type":"text","value":" for none.","line":69}]}],"line":69},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"WORKER_HOST_TOKEN","line":70}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"What the worker host presents to ask for work. Needed when ","line":70},{"type":"inlineCode","value":"MANAGED_WORKERS","line":70},{"type":"text","value":" is ","line":70},{"type":"inlineCode","value":"host","line":70},{"type":"text","value":". Keep it secret.","line":70}]}],"line":70},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MANAGED_WORKER_USER","line":71}]},{"type":"tableCell","children":[{"type":"text","value":"own","line":71}]},{"type":"tableCell","children":[{"type":"text","value":"With ","line":71},{"type":"inlineCode","value":"process","line":71},{"type":"text","value":": ","line":71},{"type":"inlineCode","value":"own","line":71},{"type":"text","value":" runs workers as a user of their own, ","line":71},{"type":"inlineCode","value":"same","line":71},{"type":"text","value":" as the control plane's. ","line":71},{"type":"inlineCode","value":"same","line":71},{"type":"text","value":" is for development, or where everyone who writes code works for the operator.","line":71}]}],"line":71},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MANAGED_WORKER_UID","line":72}]},{"type":"tableCell","children":[{"type":"text","value":"10001","line":72}]},{"type":"tableCell","children":[{"type":"text","value":"The first user workers run as. With a worker host each worker runs as a user of its own, from this one up, so that one tenant's script cannot read another's worker.","line":72}]}],"line":72},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MANAGED_WORKER_GID","line":73}]},{"type":"tableCell","children":[{"type":"text","value":"10001","line":73}]},{"type":"tableCell","children":[{"type":"text","value":"The first group workers run as. Each worker's group follows its user.","line":73}]}],"line":73},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MANAGED_WORKER_USERS","line":74}]},{"type":"tableCell","children":[{"type":"text","value":"256","line":74}]},{"type":"tableCell","children":[{"type":"text","value":"How many users, counted from ","line":74},{"type":"inlineCode","value":"MANAGED_WORKER_UID","line":74},{"type":"text","value":", the worker host may use: it never runs more workers at once than this. Read by the worker host, and by its firewall rules.","line":74}]}],"line":74},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MANAGED_WORKERS_MAX","line":75}]},{"type":"tableCell","children":[{"type":"text","value":"Twice the run slots","line":75}]},{"type":"tableCell","children":[{"type":"text","value":"With ","line":75},{"type":"inlineCode","value":"process","line":75},{"type":"text","value":": managed workers alive at once.","line":75}]}],"line":75},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"RUN_SLOTS","line":76}]},{"type":"tableCell","children":[{"type":"text","value":"From memory: one for each 160 MB past the first 512 MB, at least 2","line":76}]},{"type":"tableCell","children":[{"type":"text","value":"Scripts running at once on this machine.","line":76}]}],"line":76},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"RUN_MEMORY_FLOOR_MB","line":77}]},{"type":"tableCell","children":[{"type":"text","value":"A tenth of memory, at least 128","line":77}]},{"type":"tableCell","children":[{"type":"text","value":"Free memory below which no worker here takes more work. 0 turns the check off.","line":77}]}],"line":77}],"line":67},{"type":"heading","depth":2,"id":"limits","children":[{"type":"text","value":"Limits","line":79}],"line":79},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":81}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":81}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":81}]}],"line":81},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"SCHEDULE_BACKLOG_LIMIT","line":83}]},{"type":"tableCell","children":[{"type":"text","value":"200","line":83}]},{"type":"tableCell","children":[{"type":"text","value":"Queued runs in a workspace past which its schedules pass over their times. 0 is no limit.","line":83}]}],"line":83},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EXPORTS_AT_ONCE","line":84}]},{"type":"tableCell","children":[{"type":"text","value":"3","line":84}]},{"type":"tableCell","children":[{"type":"text","value":"Tenant exports the instance writes at once. Each holds a database connection until it ends. The next is answered 429 with ","line":84},{"type":"inlineCode","value":"Retry-After: 30","line":84},{"type":"text","value":".","line":84}]}],"line":84},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EXPORTS_PER_TENANT","line":85}]},{"type":"tableCell","children":[{"type":"text","value":"1","line":85}]},{"type":"tableCell","children":[{"type":"text","value":"Exports of one tenant written at once.","line":85}]}],"line":85},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EXPORT_STALL_SECONDS","line":86}]},{"type":"tableCell","children":[{"type":"text","value":"60","line":86}]},{"type":"tableCell","children":[{"type":"text","value":"Seconds an export's reader may take nothing before the export is ended and its connection given back.","line":86}]}],"line":86},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EXPORT_MAX_MINUTES","line":87}]},{"type":"tableCell","children":[{"type":"text","value":"30","line":87}]},{"type":"tableCell","children":[{"type":"text","value":"Minutes one export may take, however it is read, before it is ended. 0 is no limit.","line":87}]}],"line":87},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"TRIGGERS_PAUSED","line":88}]},{"type":"tableCell","children":[{"type":"text","value":"false","line":88}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"true","line":88},{"type":"text","value":" pauses every trigger of the instance, whatever the console says.","line":88}]}],"line":88}],"line":81},{"type":"heading","depth":2,"id":"mail","children":[{"type":"text","value":"Mail","line":90}],"line":90},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":92}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":92}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":92}]}],"line":92},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"SMTP_URL","line":94}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Where mail is sent, as ","line":94},{"type":"inlineCode","value":"smtp://user:password@host:port","line":94},{"type":"text","value":" or ","line":94},{"type":"inlineCode","value":"smtps://…","line":94},{"type":"text","value":". Set with ","line":94},{"type":"inlineCode","value":"MAIL_FROM","line":94},{"type":"text","value":". Keep it secret.","line":94}]}],"line":94},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MAIL_FROM","line":95}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The address mail is sent from.","line":95}]}],"line":95},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MAIL_CAPTURE_DIR","line":96}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"A folder to write each mail to as a file, in place of sending it. For tests.","line":96}]}],"line":96}],"line":92},{"type":"heading","depth":2,"id":"retention","children":[{"type":"text","value":"Retention","line":98}],"line":98},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":100}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":100}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":100}]}],"line":100},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"RETENTION_RUNS_DAYS","line":102}]},{"type":"tableCell","children":[{"type":"text","value":"30","line":102}]},{"type":"tableCell","children":[{"type":"text","value":"How long runs and their logs are kept, unless a tenant says otherwise.","line":102}]}],"line":102},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"RETENTION_EVENTS_DAYS","line":103}]},{"type":"tableCell","children":[{"type":"text","value":"30","line":103}]},{"type":"tableCell","children":[{"type":"text","value":"How long events are kept.","line":103}]}],"line":103},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"RETENTION_REFUSALS_DAYS","line":104}]},{"type":"tableCell","children":[{"type":"text","value":"7","line":104}]},{"type":"tableCell","children":[{"type":"text","value":"How long refused requests are kept.","line":104}]}],"line":104},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"RETENTION_AUDIT_DAYS","line":105}]},{"type":"tableCell","children":[{"type":"text","value":"400","line":105}]},{"type":"tableCell","children":[{"type":"text","value":"How long audit entries are kept. Never less than 90.","line":105}]}],"line":105}],"line":100},{"type":"heading","depth":2,"id":"telemetry","children":[{"type":"text","value":"Telemetry","line":107}],"line":107},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":109}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":109}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":109}]}],"line":109},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"OTEL_EXPORTER_OTLP_ENDPOINT","line":111}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Where traces and metrics are sent, such as ","line":111},{"type":"inlineCode","value":"http://collector:4318","line":111},{"type":"text","value":". Without it, none are sent.","line":111}]}],"line":111},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"OTEL_EXPORTER_OTLP_HEADERS","line":112}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Headers to send with them, as ","line":112},{"type":"inlineCode","value":"name=value,name=value","line":112},{"type":"text","value":". A vendor's key goes here. Keep it secret.","line":112}]}],"line":112},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"OTEL_EXPORTER_OTLP_PROTOCOL","line":113}]},{"type":"tableCell","children":[{"type":"text","value":"http/json","line":113}]},{"type":"tableCell","children":[{"type":"text","value":"The protocol. ","line":113},{"type":"inlineCode","value":"http/json","line":113},{"type":"text","value":" is the only one spoken.","line":113}]}],"line":113},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"OTEL_SERVICE_NAME","line":114}]},{"type":"tableCell","children":[{"type":"text","value":"volvel","line":114}]},{"type":"tableCell","children":[{"type":"text","value":"What the instance calls itself.","line":114}]}],"line":114},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"OTEL_TRACES_EXPORTER","line":115}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"inlineCode","value":"none","line":115},{"type":"text","value":" sends no traces.","line":115}]}],"line":115},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"OTEL_METRICS_EXPORTER","line":116}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"inlineCode","value":"none","line":116},{"type":"text","value":" sends no metrics.","line":116}]}],"line":116},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"OTEL_METRIC_EXPORT_INTERVAL","line":117}]},{"type":"tableCell","children":[{"type":"text","value":"60000","line":117}]},{"type":"tableCell","children":[{"type":"text","value":"How often metrics are sent, in milliseconds.","line":117}]}],"line":117},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"METRICS_WORKSPACE_LABELS","line":118}]},{"type":"tableCell","children":[{"type":"text","value":"true","line":118}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"false","line":118},{"type":"text","value":" leaves the workspace out of each metric, where there are too many workspaces for the store that keeps them.","line":118}]}],"line":118}],"line":109},{"type":"heading","depth":2,"id":"network","children":[{"type":"text","value":"Network","line":120}],"line":120},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":122}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":122}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":122}]}],"line":122},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EGRESS_ALLOW","line":124}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Private networks and host names that the instance itself may reach for a tenant, as a list with commas: ","line":124},{"type":"inlineCode","value":"10.0.0.0/8,db.internal","line":124},{"type":"text","value":". That is identity providers, Git remotes, data sources, OAuth token addresses and hostname checks. Everything else private is refused. A script is not held to this list: what a script reaches is ","line":124},{"type":"inlineCode","value":"WORKER_EGRESS_ALLOW","line":124},{"type":"text","value":" on its worker host.","line":124}]}],"line":124},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"TRUSTED_PROXIES","line":125}]},{"type":"tableCell","children":[{"type":"text","value":"1","line":125}]},{"type":"tableCell","children":[{"type":"text","value":"Whose forwarding headers are believed when the instance learns who is calling: a number of proxies in front of it, or the networks they are on, as a list with commas (","line":125},{"type":"inlineCode","value":"10.0.0.0/8,172.16.0.0/12","line":125},{"type":"text","value":"). With ","line":125},{"type":"inlineCode","value":"1","line":125},{"type":"text","value":", the address your one proxy adds last is the caller's. ","line":125},{"type":"inlineCode","value":"0","line":125},{"type":"text","value":" believes none, for an instance reached directly. Rate limits and the audit log use this address. The proxy must put the caller's address in ","line":125},{"type":"inlineCode","value":"X-Forwarded-For","line":125},{"type":"text","value":" itself, never pass on what the caller sent.","line":125}]}],"line":125}],"line":122},{"type":"heading","depth":2,"id":"files-of-the-image","children":[{"type":"text","value":"Files of the image","line":127}],"line":127},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":129}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":129}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":129}]}],"line":129},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"CONSOLE_DIR","line":131}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Where the console's built files are. The image sets it.","line":131}]}],"line":131},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"SCREENS_DIR","line":132}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Where the built files of the app that draws interfaces are. The image sets it.","line":132}]}],"line":132}],"line":129},{"type":"heading","depth":2,"id":"worker-host","children":[{"type":"text","value":"Worker host","line":134}],"line":134},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":136}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":136}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":136}]}],"line":136},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"VOLVEL_URL","line":138}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The control plane's address, for the worker host and a standalone worker. ","line":138},{"type":"inlineCode","value":"--url","line":138},{"type":"text","value":" also sets it. The worker host's firewall lets workers reach this address, and the name servers, only.","line":138}]}],"line":138},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"VOLVEL_WORKER_TOKEN","line":139}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"A standalone worker's credential. Prefer ","line":139},{"type":"inlineCode","value":"--token-file","line":139},{"type":"text","value":": an environment is shown by ","line":139},{"type":"inlineCode","value":"docker inspect","line":139},{"type":"text","value":". Keep it secret.","line":139}]}],"line":139},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"WORKER_EGRESS_ALLOW","line":140}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Private networks and host names that a tenant's scripts may reach, as a list with commas, such as an API inside your network: ","line":140},{"type":"inlineCode","value":"10.20.0.0/16,api.internal","line":140},{"type":"text","value":". Set on the worker host. Without it, a script reaches no private, loopback or link-local address, and that is the whole firewall; the control plane's address and the name servers are always open. Names are looked up when the host starts. It does nothing without the ","line":140},{"type":"inlineCode","value":"NET_ADMIN","line":140},{"type":"text","value":" capability. It is not ","line":140},{"type":"inlineCode","value":"EGRESS_ALLOW","line":140},{"type":"text","value":", which is what the instance itself may reach.","line":140}]}],"line":140}],"line":136}]},"description":"Every environment variable the instance reads."}
1
+ {"path":"self-host/reference/settings","title":"Settings","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"An instance is set up by environment variables and by nothing else. It reads them once, when it starts, and says everything that is wrong with them at once.","line":8}],"line":8},{"type":"heading","depth":2,"id":"address","children":[{"type":"text","value":"Address","line":10}],"line":10},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":12}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":12}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":12}]}],"line":12},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"PUBLIC_URL","line":14}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"The instance does not start.","line":14}],"line":14}]},{"type":"tableCell","children":[{"type":"text","value":"The address people type to reach the console, such as ","line":14},{"type":"inlineCode","value":"https://volvel.example.com","line":14},{"type":"text","value":".","line":14}]}],"line":14},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"HOST","line":15}]},{"type":"tableCell","children":[{"type":"text","value":"0.0.0.0","line":15}]},{"type":"tableCell","children":[{"type":"text","value":"The address the server listens on.","line":15}]}],"line":15},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"PORT","line":16}]},{"type":"tableCell","children":[{"type":"text","value":"8080","line":16}]},{"type":"tableCell","children":[{"type":"text","value":"The port the server listens on.","line":16}]}],"line":16},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"LOG_LEVEL","line":17}]},{"type":"tableCell","children":[{"type":"text","value":"info","line":17}]},{"type":"tableCell","children":[{"type":"text","value":"How much is logged: ","line":17},{"type":"inlineCode","value":"fatal","line":17},{"type":"text","value":", ","line":17},{"type":"inlineCode","value":"error","line":17},{"type":"text","value":", ","line":17},{"type":"inlineCode","value":"warn","line":17},{"type":"text","value":", ","line":17},{"type":"inlineCode","value":"info","line":17},{"type":"text","value":", ","line":17},{"type":"inlineCode","value":"debug","line":17},{"type":"text","value":", ","line":17},{"type":"inlineCode","value":"trace","line":17},{"type":"text","value":" or ","line":17},{"type":"inlineCode","value":"silent","line":17},{"type":"text","value":".","line":17}]}],"line":17},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"DOCS_URL","line":18}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The address of the documentation on the web, such as ","line":18},{"type":"inlineCode","value":"https://docs.example.com","line":18},{"type":"text","value":". With it, each page of the console's help offers to open online. Without it, the help is only the copy the instance carries.","line":18}]}],"line":18}],"line":12},{"type":"heading","depth":2,"id":"database","children":[{"type":"text","value":"Database","line":20}],"line":20},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":22}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":22}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":22}]}],"line":22},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"DATABASE_URL","line":24}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"The instance does not start.","line":24}],"line":24}]},{"type":"tableCell","children":[{"type":"text","value":"The Postgres the instance keeps everything in, as ","line":24},{"type":"inlineCode","value":"postgres://user:password@host:port/database","line":24},{"type":"text","value":". Keep it secret.","line":24}]}],"line":24},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"DATABASE_POOL_SIZE","line":25}]},{"type":"tableCell","children":[{"type":"text","value":"10","line":25}]},{"type":"tableCell","children":[{"type":"text","value":"Connections for the instance's own work, for each replica.","line":25}]}],"line":25},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"DATA_POOL_SIZE","line":26}]},{"type":"tableCell","children":[{"type":"text","value":"10","line":26}]},{"type":"tableCell","children":[{"type":"text","value":"Connections for every tenant's table requests, for each replica.","line":26}]}],"line":26},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"DATA_TENANT_CONNECTIONS","line":27}]},{"type":"tableCell","children":[{"type":"text","value":"A third of ","line":27},{"type":"inlineCode","value":"DATA_POOL_SIZE","line":27},{"type":"text","value":", at least 2","line":27}]},{"type":"tableCell","children":[{"type":"text","value":"Table requests one tenant may have open at once, for each replica.","line":27}]}],"line":27},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"DATA_STATEMENT_TIMEOUT_MS","line":28}]},{"type":"tableCell","children":[{"type":"text","value":"15000","line":28}]},{"type":"tableCell","children":[{"type":"text","value":"How long one request for rows may take, in milliseconds.","line":28}]}],"line":28},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"SQL_STATEMENT_TIMEOUT_MS","line":29}]},{"type":"tableCell","children":[{"type":"text","value":"15000","line":29}]},{"type":"tableCell","children":[{"type":"text","value":"How long one query written in SQL may run before it is stopped, in milliseconds.","line":29}]}],"line":29}],"line":22},{"type":"heading","depth":2,"id":"files","children":[{"type":"text","value":"Files","line":31}],"line":31},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":33}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":33}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":33}]}],"line":33},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"S3_ENDPOINT","line":35}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The address of the S3-compatible store. Left out, Amazon's own for the region.","line":35}]}],"line":35},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"S3_REGION","line":36}]},{"type":"tableCell","children":[{"type":"text","value":"us-east-1","line":36}]},{"type":"tableCell","children":[{"type":"text","value":"The store's region.","line":36}]}],"line":36},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"S3_BUCKET","line":37}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"The instance does not start.","line":37}],"line":37}]},{"type":"tableCell","children":[{"type":"text","value":"The bucket files are kept in.","line":37}]}],"line":37},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"S3_ACCESS_KEY_ID","line":38}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"The instance does not start.","line":38}],"line":38}]},{"type":"tableCell","children":[{"type":"text","value":"The key the store knows the instance by.","line":38}]}],"line":38},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"S3_SECRET_ACCESS_KEY","line":39}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"The instance does not start.","line":39}],"line":39}]},{"type":"tableCell","children":[{"type":"text","value":"The secret that goes with ","line":39},{"type":"inlineCode","value":"S3_ACCESS_KEY_ID","line":39},{"type":"text","value":". Keep it secret.","line":39}]}],"line":39},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"S3_FORCE_PATH_STYLE","line":40}]},{"type":"tableCell","children":[{"type":"text","value":"true","line":40}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"true","line":40},{"type":"text","value":" puts the bucket in the path, as most stores other than Amazon's need. ","line":40},{"type":"inlineCode","value":"false","line":40},{"type":"text","value":" puts it in the hostname.","line":40}]}],"line":40}],"line":33},{"type":"heading","depth":2,"id":"secrets","children":[{"type":"text","value":"Secrets","line":42}],"line":42},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":44}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":44}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":44}]}],"line":44},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"AUTH_SECRET","line":46}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"The instance does not start.","line":46}],"line":46}]},{"type":"tableCell","children":[{"type":"text","value":"Signs session cookies. At least 32 characters: ","line":46},{"type":"inlineCode","value":"openssl rand -hex 32","line":46},{"type":"text","value":". Keep it secret.","line":46}]}],"line":46},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MASTER_KEY","line":47}]},{"type":"tableCell","children":[{"type":"strong","children":[{"type":"text","value":"The instance does not start.","line":47}],"line":47}]},{"type":"tableCell","children":[{"type":"text","value":"Wraps every tenant's encryption key. 32 bytes, base64: ","line":47},{"type":"inlineCode","value":"openssl rand -base64 32","line":47},{"type":"text","value":". Keep a copy somewhere safe: without it no stored secret can be read again. Keep it secret.","line":47}]}],"line":47},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MASTER_KEY_SECONDARY","line":48}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The other key while the master key is being rotated. Keep it secret.","line":48}]}],"line":48},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"METRICS_TOKEN","line":49}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Lets a scraper read the metrics with this token and no sign-in. At least 32 characters. Keep it secret.","line":49}]}],"line":49}],"line":44},{"type":"heading","depth":2,"id":"first-start","children":[{"type":"text","value":"First start","line":51}],"line":51},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":53}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":53}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":53}]}],"line":53},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"BOOTSTRAP_ADMIN_EMAIL","line":55}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The first operator, made when the instance has no members. Set with ","line":55},{"type":"inlineCode","value":"BOOTSTRAP_ADMIN_PASSWORD","line":55},{"type":"text","value":", and remove both after the first start.","line":55}]}],"line":55},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"BOOTSTRAP_ADMIN_PASSWORD","line":56}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The first operator's password. At least 12 characters. Keep it secret.","line":56}]}],"line":56}],"line":53},{"type":"heading","depth":2,"id":"apps","children":[{"type":"text","value":"Apps","line":58}],"line":58},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":60}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":60}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":60}]}],"line":60},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"APPS_URL","line":62}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"A second address for apps written as code, such as ","line":62},{"type":"inlineCode","value":"https://apps.example.com","line":62},{"type":"text","value":". Without it they are served at the console's address. Either way each app's pages are sandboxed: they hold no cookie and reach no other page.","line":62}]}],"line":62}],"line":60},{"type":"heading","depth":2,"id":"workers","children":[{"type":"text","value":"Workers","line":64}],"line":64},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":66}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":66}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":66}]}],"line":66},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MANAGED_WORKERS","line":68}]},{"type":"tableCell","children":[{"type":"text","value":"process","line":68}]},{"type":"tableCell","children":[{"type":"text","value":"How tenants' workers are started: ","line":68},{"type":"inlineCode","value":"host","line":68},{"type":"text","value":" by the worker host, ","line":68},{"type":"inlineCode","value":"process","line":68},{"type":"text","value":" by the control plane itself, or ","line":68},{"type":"inlineCode","value":"false","line":68},{"type":"text","value":" for none.","line":68}]}],"line":68},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"WORKER_HOST_TOKEN","line":69}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"What the worker host presents to ask for work. Needed when ","line":69},{"type":"inlineCode","value":"MANAGED_WORKERS","line":69},{"type":"text","value":" is ","line":69},{"type":"inlineCode","value":"host","line":69},{"type":"text","value":". Keep it secret.","line":69}]}],"line":69},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MANAGED_WORKER_USER","line":70}]},{"type":"tableCell","children":[{"type":"text","value":"own","line":70}]},{"type":"tableCell","children":[{"type":"text","value":"With ","line":70},{"type":"inlineCode","value":"process","line":70},{"type":"text","value":": ","line":70},{"type":"inlineCode","value":"own","line":70},{"type":"text","value":" runs workers as a user of their own, ","line":70},{"type":"inlineCode","value":"same","line":70},{"type":"text","value":" as the control plane's. ","line":70},{"type":"inlineCode","value":"same","line":70},{"type":"text","value":" is for development, or where everyone who writes code works for the operator.","line":70}]}],"line":70},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MANAGED_WORKER_UID","line":71}]},{"type":"tableCell","children":[{"type":"text","value":"10001","line":71}]},{"type":"tableCell","children":[{"type":"text","value":"The first user workers run as. With a worker host each worker runs as a user of its own, from this one up, so that one tenant's script cannot read another's worker.","line":71}]}],"line":71},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MANAGED_WORKER_GID","line":72}]},{"type":"tableCell","children":[{"type":"text","value":"10001","line":72}]},{"type":"tableCell","children":[{"type":"text","value":"The first group workers run as. Each worker's group follows its user.","line":72}]}],"line":72},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MANAGED_WORKER_USERS","line":73}]},{"type":"tableCell","children":[{"type":"text","value":"256","line":73}]},{"type":"tableCell","children":[{"type":"text","value":"How many users, counted from ","line":73},{"type":"inlineCode","value":"MANAGED_WORKER_UID","line":73},{"type":"text","value":", the worker host may use: it never runs more workers at once than this. Read by the worker host, and by its firewall rules.","line":73}]}],"line":73},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MANAGED_WORKERS_MAX","line":74}]},{"type":"tableCell","children":[{"type":"text","value":"Twice the run slots","line":74}]},{"type":"tableCell","children":[{"type":"text","value":"With ","line":74},{"type":"inlineCode","value":"process","line":74},{"type":"text","value":": managed workers alive at once.","line":74}]}],"line":74},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"RUN_SLOTS","line":75}]},{"type":"tableCell","children":[{"type":"text","value":"From memory: one for each 160 MB past the first 512 MB, at least 2","line":75}]},{"type":"tableCell","children":[{"type":"text","value":"Scripts running at once on this machine.","line":75}]}],"line":75},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"RUN_MEMORY_FLOOR_MB","line":76}]},{"type":"tableCell","children":[{"type":"text","value":"A tenth of memory, at least 128","line":76}]},{"type":"tableCell","children":[{"type":"text","value":"Free memory below which no worker here takes more work. 0 turns the check off.","line":76}]}],"line":76}],"line":66},{"type":"heading","depth":2,"id":"limits","children":[{"type":"text","value":"Limits","line":78}],"line":78},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":80}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":80}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":80}]}],"line":80},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"SCHEDULE_BACKLOG_LIMIT","line":82}]},{"type":"tableCell","children":[{"type":"text","value":"200","line":82}]},{"type":"tableCell","children":[{"type":"text","value":"Queued runs in a workspace past which its schedules pass over their times. 0 is no limit.","line":82}]}],"line":82},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EXPORTS_AT_ONCE","line":83}]},{"type":"tableCell","children":[{"type":"text","value":"3","line":83}]},{"type":"tableCell","children":[{"type":"text","value":"Tenant exports the instance writes at once. Each holds a database connection until it ends. The next is answered 429 with ","line":83},{"type":"inlineCode","value":"Retry-After: 30","line":83},{"type":"text","value":".","line":83}]}],"line":83},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EXPORTS_PER_TENANT","line":84}]},{"type":"tableCell","children":[{"type":"text","value":"1","line":84}]},{"type":"tableCell","children":[{"type":"text","value":"Exports of one tenant written at once.","line":84}]}],"line":84},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EXPORT_STALL_SECONDS","line":85}]},{"type":"tableCell","children":[{"type":"text","value":"60","line":85}]},{"type":"tableCell","children":[{"type":"text","value":"Seconds an export's reader may take nothing before the export is ended and its connection given back.","line":85}]}],"line":85},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EXPORT_MAX_MINUTES","line":86}]},{"type":"tableCell","children":[{"type":"text","value":"30","line":86}]},{"type":"tableCell","children":[{"type":"text","value":"Minutes one export may take, however it is read, before it is ended. 0 is no limit.","line":86}]}],"line":86},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"TRIGGERS_PAUSED","line":87}]},{"type":"tableCell","children":[{"type":"text","value":"false","line":87}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"true","line":87},{"type":"text","value":" pauses every trigger of the instance, whatever the console says.","line":87}]}],"line":87}],"line":80},{"type":"heading","depth":2,"id":"mail","children":[{"type":"text","value":"Mail","line":89}],"line":89},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":91}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":91}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":91}]}],"line":91},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"SMTP_URL","line":93}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Where mail is sent, as ","line":93},{"type":"inlineCode","value":"smtp://user:password@host:port","line":93},{"type":"text","value":" or ","line":93},{"type":"inlineCode","value":"smtps://…","line":93},{"type":"text","value":". Set with ","line":93},{"type":"inlineCode","value":"MAIL_FROM","line":93},{"type":"text","value":". Keep it secret.","line":93}]}],"line":93},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MAIL_FROM","line":94}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The address mail is sent from.","line":94}]}],"line":94},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MAIL_CAPTURE_DIR","line":95}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"A folder to write each mail to as a file, in place of sending it. For tests.","line":95}]}],"line":95}],"line":91},{"type":"heading","depth":2,"id":"retention","children":[{"type":"text","value":"Retention","line":97}],"line":97},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":99}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":99}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":99}]}],"line":99},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"RETENTION_RUNS_DAYS","line":101}]},{"type":"tableCell","children":[{"type":"text","value":"30","line":101}]},{"type":"tableCell","children":[{"type":"text","value":"How long runs and their logs are kept, unless a tenant says otherwise.","line":101}]}],"line":101},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"RETENTION_EVENTS_DAYS","line":102}]},{"type":"tableCell","children":[{"type":"text","value":"30","line":102}]},{"type":"tableCell","children":[{"type":"text","value":"How long events are kept.","line":102}]}],"line":102},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"RETENTION_REFUSALS_DAYS","line":103}]},{"type":"tableCell","children":[{"type":"text","value":"7","line":103}]},{"type":"tableCell","children":[{"type":"text","value":"How long refused requests are kept.","line":103}]}],"line":103},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"RETENTION_AUDIT_DAYS","line":104}]},{"type":"tableCell","children":[{"type":"text","value":"400","line":104}]},{"type":"tableCell","children":[{"type":"text","value":"How long audit entries are kept. Never less than 90.","line":104}]}],"line":104},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"RETENTION_FIGURES_DAYS","line":105}]},{"type":"tableCell","children":[{"type":"text","value":"90","line":105}]},{"type":"tableCell","children":[{"type":"text","value":"Days a tenant's figures are kept: its runs, waits, requests and refusals counted per five minutes, unless a tenant says otherwise.","line":105}]}],"line":105}],"line":99},{"type":"heading","depth":2,"id":"telemetry","children":[{"type":"text","value":"Telemetry","line":107}],"line":107},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":109}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":109}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":109}]}],"line":109},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"OTEL_EXPORTER_OTLP_ENDPOINT","line":111}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Where traces and metrics are sent, such as ","line":111},{"type":"inlineCode","value":"http://collector:4318","line":111},{"type":"text","value":". Without it, none are sent.","line":111}]}],"line":111},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"OTEL_EXPORTER_OTLP_HEADERS","line":112}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Headers to send with them, as ","line":112},{"type":"inlineCode","value":"name=value,name=value","line":112},{"type":"text","value":". A vendor's key goes here. Keep it secret.","line":112}]}],"line":112},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"OTEL_EXPORTER_OTLP_PROTOCOL","line":113}]},{"type":"tableCell","children":[{"type":"text","value":"http/json","line":113}]},{"type":"tableCell","children":[{"type":"text","value":"The protocol. ","line":113},{"type":"inlineCode","value":"http/json","line":113},{"type":"text","value":" is the only one spoken.","line":113}]}],"line":113},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"OTEL_SERVICE_NAME","line":114}]},{"type":"tableCell","children":[{"type":"text","value":"volvel","line":114}]},{"type":"tableCell","children":[{"type":"text","value":"What the instance calls itself.","line":114}]}],"line":114},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"OTEL_TRACES_EXPORTER","line":115}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"inlineCode","value":"none","line":115},{"type":"text","value":" sends no traces.","line":115}]}],"line":115},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"OTEL_METRICS_EXPORTER","line":116}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"inlineCode","value":"none","line":116},{"type":"text","value":" sends no metrics.","line":116}]}],"line":116},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"OTEL_METRIC_EXPORT_INTERVAL","line":117}]},{"type":"tableCell","children":[{"type":"text","value":"60000","line":117}]},{"type":"tableCell","children":[{"type":"text","value":"How often metrics are sent, in milliseconds.","line":117}]}],"line":117},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"METRICS_WORKSPACE_LABELS","line":118}]},{"type":"tableCell","children":[{"type":"text","value":"true","line":118}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"false","line":118},{"type":"text","value":" leaves the workspace out of each metric, where there are too many workspaces for the store that keeps them.","line":118}]}],"line":118}],"line":109},{"type":"heading","depth":2,"id":"network","children":[{"type":"text","value":"Network","line":120}],"line":120},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":122}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":122}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":122}]}],"line":122},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EGRESS_ALLOW","line":124}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Private networks and host names that the instance itself may reach for a tenant, as a list with commas: ","line":124},{"type":"inlineCode","value":"10.0.0.0/8,db.internal","line":124},{"type":"text","value":". That is identity providers, Git remotes, data sources, OAuth token addresses and hostname checks. Everything else private is refused. A script is not held to this list: what a script reaches is ","line":124},{"type":"inlineCode","value":"WORKER_EGRESS_ALLOW","line":124},{"type":"text","value":" on its worker host.","line":124}]}],"line":124},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"TRUSTED_PROXIES","line":125}]},{"type":"tableCell","children":[{"type":"text","value":"1","line":125}]},{"type":"tableCell","children":[{"type":"text","value":"Whose forwarding headers are believed when the instance learns who is calling: a number of proxies in front of it, or the networks they are on, as a list with commas (","line":125},{"type":"inlineCode","value":"10.0.0.0/8,172.16.0.0/12","line":125},{"type":"text","value":"). With ","line":125},{"type":"inlineCode","value":"1","line":125},{"type":"text","value":", the address your one proxy adds last is the caller's. ","line":125},{"type":"inlineCode","value":"0","line":125},{"type":"text","value":" believes none, for an instance reached directly. Rate limits and the audit log use this address. The proxy must put the caller's address in ","line":125},{"type":"inlineCode","value":"X-Forwarded-For","line":125},{"type":"text","value":" itself, never pass on what the caller sent.","line":125}]}],"line":125}],"line":122},{"type":"heading","depth":2,"id":"files-of-the-image","children":[{"type":"text","value":"Files of the image","line":127}],"line":127},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":129}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":129}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":129}]}],"line":129},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"CONSOLE_DIR","line":131}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Where the console's built files are. The image sets it.","line":131}]}],"line":131},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"SCREENS_DIR","line":132}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Where the built files of the app that draws interfaces are. The image sets it.","line":132}]}],"line":132}],"line":129},{"type":"heading","depth":2,"id":"worker-host","children":[{"type":"text","value":"Worker host","line":134}],"line":134},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Variable","line":136}]},{"type":"tableCell","children":[{"type":"text","value":"When not set","line":136}]},{"type":"tableCell","children":[{"type":"text","value":"What it is","line":136}]}],"line":136},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"VOLVEL_URL","line":138}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The control plane's address, for the worker host and a standalone worker. ","line":138},{"type":"inlineCode","value":"--url","line":138},{"type":"text","value":" also sets it. The worker host's firewall lets workers reach this address, and the name servers, only.","line":138}]}],"line":138},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"VOLVEL_WORKER_TOKEN","line":139}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"A standalone worker's credential. Prefer ","line":139},{"type":"inlineCode","value":"--token-file","line":139},{"type":"text","value":": an environment is shown by ","line":139},{"type":"inlineCode","value":"docker inspect","line":139},{"type":"text","value":". Keep it secret.","line":139}]}],"line":139},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"WORKER_EGRESS_ALLOW","line":140}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Private networks and host names that a tenant's scripts may reach, as a list with commas, such as an API inside your network: ","line":140},{"type":"inlineCode","value":"10.20.0.0/16,api.internal","line":140},{"type":"text","value":". Set on the worker host. Without it, a script reaches no private, loopback or link-local address, and that is the whole firewall; the control plane's address and the name servers are always open. Names are looked up when the host starts. It does nothing without the ","line":140},{"type":"inlineCode","value":"NET_ADMIN","line":140},{"type":"text","value":" capability. It is not ","line":140},{"type":"inlineCode","value":"EGRESS_ALLOW","line":140},{"type":"text","value":", which is what the instance itself may reach.","line":140}]}],"line":140}],"line":136}]},"description":"Every environment variable the instance reads."}
@@ -1 +1 @@
1
- {"path":"self-host/tutorials/install-on-one-machine","title":"Install Volvel on one machine","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"You will have an instance running on your machine with its own database, object store and worker host, signed in as its first operator, with a script that ran and a backup of its database. It takes about 30 minutes. Nothing here is for production: see ","line":7},{"type":"link","href":"../how-to/running/put-a-proxy-in-front","children":[{"type":"text","value":"the proxy how-to","line":7}],"line":7},{"type":"text","value":" before anyone else can reach it.","line":7}],"line":7},{"type":"paragraph","children":[{"type":"text","value":"If you only need the steps of an installation, the how-to ","line":9},{"type":"link","href":"../how-to/running/install-with-compose","children":[{"type":"text","value":"Install an instance with Compose","line":9}],"line":9},{"type":"text","value":" is shorter. This tutorial adds to it a first script that runs, a backup and the checks on the way, and it runs the commands in ","line":9},{"type":"inlineCode","value":"deploy/compose","line":9},{"type":"text","value":", where the how-to runs them from the repository root.","line":9}],"line":9},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":11}],"line":11},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"A machine with Docker and Docker Compose, 2 GB of memory free, and a checkout of this repository. Run the commands in the folder ","line":13},{"type":"inlineCode","value":"deploy/compose","line":13},{"type":"text","value":" of the checkout.","line":13}],"line":13},{"type":"listItem","children":[{"type":"text","value":"An image of Volvel. The image of a release is on Docker Hub from 0.6.0: ","line":14},{"type":"inlineCode","value":"docker pull volvel/volvel:0.6.0","line":14},{"type":"text","value":", then name it in ","line":14},{"type":"inlineCode","value":"VOLVEL_IMAGE","line":14},{"type":"text","value":". Without ","line":14},{"type":"inlineCode","value":"VOLVEL_IMAGE","line":14},{"type":"text","value":", Compose builds one from the checkout when you start it, which needs the internet. Step 3 shows where ","line":14},{"type":"inlineCode","value":"VOLVEL_IMAGE","line":14},{"type":"text","value":" goes. The run behind this page used an image built earlier on the same machine.","line":14}],"line":14},{"type":"listItem","children":[{"type":"text","value":"Port 8095 free on the machine. Use another if it is not, and change it in both places step 2 says.","line":15}],"line":15},{"type":"listItem","children":[{"type":"inlineCode","value":"openssl","line":16},{"type":"text","value":", to make the secrets.","line":16}],"line":16}],"line":13},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Copy the settings file.","line":19}],"line":19}],"line":19},{"type":"code","value":"cp .env.example .env\nchmod 600 .env","lang":"bash","line":21},{"type":"paragraph","children":[{"type":"text","value":"Open ","line":26},{"type":"inlineCode","value":".env","line":26},{"type":"text","value":". The line ","line":26},{"type":"inlineCode","value":"COMPOSE_PROFILES=postgres,objectstore","line":26},{"type":"text","value":" starts the database and the object store that come with the stack. Without it neither starts.","line":26}],"line":26}],"line":19},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Fill in the secrets.","line":28}],"line":28},{"type":"text","value":" Set each of these in ","line":28},{"type":"inlineCode","value":".env","line":28},{"type":"text","value":", with the value from the command beside it:","line":28}],"line":28},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Setting","line":30}]},{"type":"tableCell","children":[{"type":"text","value":"Value","line":30}]}],"line":30},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"POSTGRES_PASSWORD","line":32}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"openssl rand -hex 24","line":32}]}],"line":32},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"OBJECTSTORE_SECRET","line":33}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"openssl rand -hex 24","line":33}]}],"line":33},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"AUTH_SECRET","line":34}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"openssl rand -hex 32","line":34}]}],"line":34},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MASTER_KEY","line":35}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"openssl rand -base64 32","line":35}]}],"line":35},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"WORKER_HOST_TOKEN","line":36}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"openssl rand -hex 32","line":36}]}],"line":36}],"line":30},{"type":"paragraph","children":[{"type":"text","value":"Then set ","line":38},{"type":"inlineCode","value":"PUBLIC_URL=http://localhost:8095","line":38},{"type":"text","value":" and ","line":38},{"type":"inlineCode","value":"VOLVEL_BIND=127.0.0.1:8095","line":38},{"type":"text","value":", the address people type and the address the container is reached at. Set ","line":38},{"type":"inlineCode","value":"BOOTSTRAP_ADMIN_EMAIL=owner@example.com","line":38},{"type":"text","value":" and ","line":38},{"type":"inlineCode","value":"BOOTSTRAP_ADMIN_PASSWORD","line":38},{"type":"text","value":" to a password of at least 12 characters: they make the first operator admin on the first start.","line":38}],"line":38},{"type":"component","name":"alert","form":"container","props":{"type":"warning"},"children":[{"type":"paragraph","children":[{"type":"inlineCode","value":"MASTER_KEY","line":41},{"type":"text","value":" wraps every tenant's encryption key. The ","line":41},{"type":"inlineCode","value":".env","line":41},{"type":"text","value":" file says: \"Back this up somewhere safe. Without it, no stored secret can ever be read again.\" Copy the file to a place that is not this machine.","line":41}],"line":41}],"label":"Copy the master key now","line":40,"endLine":42}],"line":28},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Start it.","line":44}],"line":44}],"line":44},{"type":"code","value":"docker compose -f compose.yaml up -d","lang":"bash","line":46},{"type":"paragraph","children":[{"type":"text","value":"To use an image you have, put ","line":50},{"type":"inlineCode","value":"VOLVEL_IMAGE=your/image:tag","line":50},{"type":"text","value":" before the command. Compose starts four services: ","line":50},{"type":"inlineCode","value":"postgres","line":50},{"type":"text","value":", ","line":50},{"type":"inlineCode","value":"objectstore","line":50},{"type":"text","value":", ","line":50},{"type":"inlineCode","value":"control-plane","line":50},{"type":"text","value":" and ","line":50},{"type":"inlineCode","value":"worker-host","line":50},{"type":"text","value":".","line":50}],"line":50}],"line":44},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Check that it is ready.","line":52}],"line":52}],"line":52},{"type":"code","value":"docker compose -f compose.yaml ps\ncurl http://127.0.0.1:8095/api/v1/readyz","lang":"bash","line":54},{"type":"paragraph","children":[{"type":"inlineCode","value":"ps","line":59},{"type":"text","value":" lists the four services, each ","line":59},{"type":"strong","children":[{"type":"text","value":"healthy","line":59}],"line":59},{"type":"text","value":" (the worker host reads \"health: starting\" for a few seconds). The ","line":59},{"type":"inlineCode","value":"curl","line":59},{"type":"text","value":" answers ","line":59},{"type":"inlineCode","value":"{\"status\":\"ready\",\"checks\":{\"database\":{\"ok\":true,…},\"objectStore\":{\"ok\":true}}}","line":59},{"type":"text","value":".","line":59}],"line":59}],"line":52},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Check the settings.","line":61}],"line":61}],"line":61},{"type":"code","value":"docker compose -f compose.yaml exec control-plane node dist/main.js check-config","lang":"bash","line":63},{"type":"paragraph","children":[{"type":"text","value":"It says \"The settings are valid.\" and exits 0. When something is wrong it says every problem at once and exits 1.","line":67}],"line":67}],"line":61},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Sign in as the first operator.","line":69}],"line":69},{"type":"text","value":" Open ","line":69},{"type":"inlineCode","value":"http://localhost:8095","line":69},{"type":"text","value":" in a browser. Type ","line":69},{"type":"inlineCode","value":"owner@example.com","line":69},{"type":"text","value":", press ","line":69},{"type":"strong","children":[{"type":"text","value":"Continue","line":69}],"line":69},{"type":"text","value":", type the password and press ","line":69},{"type":"strong","children":[{"type":"text","value":"Sign in","line":69}],"line":69},{"type":"text","value":". The first screen is ","line":69},{"type":"strong","children":[{"type":"text","value":"Tenants","line":69}],"line":69},{"type":"text","value":": \"No tenants yet\", \"A tenant is one client organization. Create the first one to start adding workspaces and members.\"","line":69}],"line":69}],"line":69},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Read the Health screen.","line":71}],"line":71},{"type":"text","value":" In the menu on the left under ","line":71},{"type":"strong","children":[{"type":"text","value":"Instance","line":71}],"line":71},{"type":"text","value":", choose ","line":71},{"type":"strong","children":[{"type":"text","value":"Health","line":71}],"line":71},{"type":"text","value":". It says ","line":71},{"type":"strong","children":[{"type":"text","value":"Ready","line":71}],"line":71},{"type":"text","value":", \"This replica takes requests.\", the database and object store as ","line":71},{"type":"strong","children":[{"type":"text","value":"Answers","line":71}],"line":71},{"type":"text","value":", ","line":71},{"type":"strong","children":[{"type":"text","value":"Version","line":71}],"line":71},{"type":"text","value":" ","line":71},{"type":"inlineCode","value":"0.5.0","line":71},{"type":"text","value":", and under ","line":71},{"type":"strong","children":[{"type":"text","value":"MASTER KEY","line":71}],"line":71},{"type":"text","value":" a fingerprint of your key, with ","line":71},{"type":"inlineCode","value":"MASTER_KEY_SECONDARY","line":71},{"type":"text","value":" ","line":71},{"type":"strong","children":[{"type":"text","value":"Not set","line":71}],"line":71},{"type":"text","value":". Under ","line":71},{"type":"strong","children":[{"type":"text","value":"THIS REPLICA'S SETTINGS","line":71}],"line":71},{"type":"text","value":" it says ","line":71},{"type":"strong","children":[{"type":"text","value":"Workers","line":71}],"line":71},{"type":"text","value":" \"Started in a worker host\", and ","line":71},{"type":"strong","children":[{"type":"text","value":"Address","line":71}],"line":71},{"type":"text","value":" ","line":71},{"type":"inlineCode","value":"http://localhost:8095","line":71},{"type":"text","value":". ","line":71},{"type":"strong","children":[{"type":"text","value":"Apps","line":71}],"line":71},{"type":"text","value":" says \"Not served yet: set APPS_URL\", which only matters for apps written as code.","line":71}],"line":71}],"line":71},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Run a script.","line":73}],"line":73},{"type":"text","value":" Follow ","line":73},{"type":"link","href":"../../start/tutorials/your-first-script","children":[{"type":"text","value":"your first script","line":73}],"line":73},{"type":"text","value":", from step 1, on this instance. The test pane shows ","line":73},{"type":"strong","children":[{"type":"text","value":"Succeeded","line":73}],"line":73},{"type":"text","value":", and the workspace's ","line":73},{"type":"strong","children":[{"type":"text","value":"First steps","line":73}],"line":73},{"type":"text","value":" list has ","line":73},{"type":"strong","children":[{"type":"text","value":"A worker to run code","line":73}],"line":73},{"type":"text","value":" done. The worker host starts the worker that ran it.","line":73}],"line":73}],"line":73},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Take a backup.","line":75}],"line":75}],"line":75},{"type":"code","value":"docker compose -f compose.yaml exec -T postgres pg_dump -U platform platform > backup.sql","lang":"bash","line":77},{"type":"paragraph","children":[{"type":"text","value":"The file is the instance's database: in the run behind this page it was 262 KB and held 110 ","line":81},{"type":"inlineCode","value":"CREATE TABLE","line":81},{"type":"text","value":" statements. The object store holds uploaded bundles and files and is backed up separately. A dump is no use without the ","line":81},{"type":"inlineCode","value":"MASTER_KEY","line":81},{"type":"text","value":" that sealed what is in it: keep each key as long as the backups it sealed.","line":81}],"line":81}],"line":75},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Remove the first-operator lines.","line":83}],"line":83},{"type":"text","value":" Delete ","line":83},{"type":"inlineCode","value":"BOOTSTRAP_ADMIN_EMAIL","line":83},{"type":"text","value":" and ","line":83},{"type":"inlineCode","value":"BOOTSTRAP_ADMIN_PASSWORD","line":83},{"type":"text","value":" from ","line":83},{"type":"inlineCode","value":".env","line":83},{"type":"text","value":", as its comment says to, and run step 3 again. The control plane restarts. Sign in again: the same operator, the same tenants.","line":83}],"line":83}],"line":83},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Check from the command line.","line":85}],"line":85},{"type":"text","value":" From the checkout, ","line":85},{"type":"inlineCode","value":"VOLVEL_URL=http://localhost:8095 node packages/cli/dist/bin.js status","line":85},{"type":"text","value":" says the version and \"Ready\".","line":85}],"line":85}],"line":85}],"line":19}],"line":18,"endLine":86},{"type":"heading","depth":2,"id":"what-you-built","children":[{"type":"text","value":"What you built","line":88}],"line":88},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"An instance on ","line":90},{"type":"inlineCode","value":"http://localhost:8095","line":90},{"type":"text","value":": a control plane, a worker host, a database and an object store, as four containers of one Compose project.","line":90}],"line":90},{"type":"listItem","children":[{"type":"text","value":"A first operator, and a ","line":91},{"type":"inlineCode","value":".env","line":91},{"type":"text","value":" that holds the instance's secrets. It is the only copy of the master key, and it is the file to back up.","line":91}],"line":91},{"type":"listItem","children":[{"type":"text","value":"A backup of the database, ","line":92},{"type":"inlineCode","value":"backup.sql","line":92},{"type":"text","value":", and a script that ran on a worker the instance started.","line":92}],"line":92}],"line":90},{"type":"paragraph","children":[{"type":"text","value":"To stop the instance and keep its data: ","line":94},{"type":"inlineCode","value":"docker compose -f compose.yaml stop","line":94},{"type":"text","value":". ","line":94},{"type":"inlineCode","value":"docker compose -f compose.yaml down -v","line":94},{"type":"text","value":" also deletes the database and the object store.","line":94}],"line":94}]},"description":"Start an instance with Docker Compose on a single machine, sign in as its first operator, check that it is ready and that a script runs, take a backup, and keep the master key."}
1
+ {"path":"self-host/tutorials/install-on-one-machine","title":"Install Volvel on one machine","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"You will have an instance running on your machine with its own database, object store and worker host, signed in as its first operator, with a script that ran and a backup of its database. It takes about 30 minutes. Nothing here is for production: see ","line":7},{"type":"link","href":"../how-to/running/put-a-proxy-in-front","children":[{"type":"text","value":"the proxy how-to","line":7}],"line":7},{"type":"text","value":" before anyone else can reach it.","line":7}],"line":7},{"type":"paragraph","children":[{"type":"text","value":"If you only need the steps of an installation, the how-to ","line":9},{"type":"link","href":"../how-to/running/install-with-compose","children":[{"type":"text","value":"Install an instance with Compose","line":9}],"line":9},{"type":"text","value":" is shorter. This tutorial adds to it a first script that runs, a backup and the checks on the way, and it runs the commands in ","line":9},{"type":"inlineCode","value":"deploy/compose","line":9},{"type":"text","value":", where the how-to runs them from the repository root.","line":9}],"line":9},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":11}],"line":11},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"A machine with Docker and Docker Compose, 2 GB of memory free, and a checkout of this repository. Run the commands in the folder ","line":13},{"type":"inlineCode","value":"deploy/compose","line":13},{"type":"text","value":" of the checkout.","line":13}],"line":13},{"type":"listItem","children":[{"type":"text","value":"An image of Volvel. The image of a release is on Docker Hub from 0.6.0: ","line":14},{"type":"inlineCode","value":"docker pull volvel/volvel:0.6.0","line":14},{"type":"text","value":", then name it in ","line":14},{"type":"inlineCode","value":"VOLVEL_IMAGE","line":14},{"type":"text","value":". Without ","line":14},{"type":"inlineCode","value":"VOLVEL_IMAGE","line":14},{"type":"text","value":", Compose builds one from the checkout when you start it, which needs the internet. Step 3 shows where ","line":14},{"type":"inlineCode","value":"VOLVEL_IMAGE","line":14},{"type":"text","value":" goes. The run behind this page used an image built earlier on the same machine.","line":14}],"line":14},{"type":"listItem","children":[{"type":"text","value":"Port 8095 free on the machine. Use another if it is not, and change it in both places step 2 says.","line":15}],"line":15},{"type":"listItem","children":[{"type":"inlineCode","value":"openssl","line":16},{"type":"text","value":", to make the secrets.","line":16}],"line":16}],"line":13},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Copy the settings file.","line":19}],"line":19}],"line":19},{"type":"code","value":"cp .env.example .env\nchmod 600 .env","lang":"bash","line":21},{"type":"paragraph","children":[{"type":"text","value":"Open ","line":26},{"type":"inlineCode","value":".env","line":26},{"type":"text","value":". The line ","line":26},{"type":"inlineCode","value":"COMPOSE_PROFILES=postgres,objectstore","line":26},{"type":"text","value":" starts the database and the object store that come with the stack. Without it neither starts.","line":26}],"line":26}],"line":19},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Fill in the secrets.","line":28}],"line":28},{"type":"text","value":" Set each of these in ","line":28},{"type":"inlineCode","value":".env","line":28},{"type":"text","value":", with the value from the command beside it:","line":28}],"line":28},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Setting","line":30}]},{"type":"tableCell","children":[{"type":"text","value":"Value","line":30}]}],"line":30},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"POSTGRES_PASSWORD","line":32}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"openssl rand -hex 24","line":32}]}],"line":32},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"OBJECTSTORE_SECRET","line":33}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"openssl rand -hex 24","line":33}]}],"line":33},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"AUTH_SECRET","line":34}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"openssl rand -hex 32","line":34}]}],"line":34},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"MASTER_KEY","line":35}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"openssl rand -base64 32","line":35}]}],"line":35},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"WORKER_HOST_TOKEN","line":36}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"openssl rand -hex 32","line":36}]}],"line":36}],"line":30},{"type":"paragraph","children":[{"type":"text","value":"Then set ","line":38},{"type":"inlineCode","value":"PUBLIC_URL=http://localhost:8095","line":38},{"type":"text","value":" and ","line":38},{"type":"inlineCode","value":"VOLVEL_BIND=127.0.0.1:8095","line":38},{"type":"text","value":", the address people type and the address the container is reached at. Set ","line":38},{"type":"inlineCode","value":"BOOTSTRAP_ADMIN_EMAIL=owner@example.com","line":38},{"type":"text","value":" and ","line":38},{"type":"inlineCode","value":"BOOTSTRAP_ADMIN_PASSWORD","line":38},{"type":"text","value":" to a password of at least 12 characters: they make the first operator admin on the first start.","line":38}],"line":38},{"type":"component","name":"alert","form":"container","props":{"type":"warning"},"children":[{"type":"paragraph","children":[{"type":"inlineCode","value":"MASTER_KEY","line":41},{"type":"text","value":" wraps every tenant's encryption key. The ","line":41},{"type":"inlineCode","value":".env","line":41},{"type":"text","value":" file says: \"Back this up somewhere safe. Without it, no stored secret can ever be read again.\" Copy the file to a place that is not this machine.","line":41}],"line":41}],"label":"Copy the master key now","line":40,"endLine":42}],"line":28},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Start it.","line":44}],"line":44}],"line":44},{"type":"code","value":"docker compose -f compose.yaml up -d","lang":"bash","line":46},{"type":"paragraph","children":[{"type":"text","value":"To use an image you have, put ","line":50},{"type":"inlineCode","value":"VOLVEL_IMAGE=your/image:tag","line":50},{"type":"text","value":" before the command. Compose starts four services: ","line":50},{"type":"inlineCode","value":"postgres","line":50},{"type":"text","value":", ","line":50},{"type":"inlineCode","value":"objectstore","line":50},{"type":"text","value":", ","line":50},{"type":"inlineCode","value":"control-plane","line":50},{"type":"text","value":" and ","line":50},{"type":"inlineCode","value":"worker-host","line":50},{"type":"text","value":".","line":50}],"line":50}],"line":44},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Check that it is ready.","line":52}],"line":52}],"line":52},{"type":"code","value":"docker compose -f compose.yaml ps\ncurl http://127.0.0.1:8095/api/v1/readyz","lang":"bash","line":54},{"type":"paragraph","children":[{"type":"inlineCode","value":"ps","line":59},{"type":"text","value":" lists the four services, each ","line":59},{"type":"strong","children":[{"type":"text","value":"healthy","line":59}],"line":59},{"type":"text","value":" (the worker host reads \"health: starting\" for a few seconds). The ","line":59},{"type":"inlineCode","value":"curl","line":59},{"type":"text","value":" answers ","line":59},{"type":"inlineCode","value":"{\"status\":\"ready\",\"checks\":{\"database\":{\"ok\":true,…},\"objectStore\":{\"ok\":true}}}","line":59},{"type":"text","value":".","line":59}],"line":59}],"line":52},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Check the settings.","line":61}],"line":61}],"line":61},{"type":"code","value":"docker compose -f compose.yaml exec control-plane node dist/main.js check-config","lang":"bash","line":63},{"type":"paragraph","children":[{"type":"text","value":"It says \"The settings are valid.\" and exits 0. When something is wrong it says every problem at once and exits 1.","line":67}],"line":67}],"line":61},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Sign in as the first operator.","line":69}],"line":69},{"type":"text","value":" Open ","line":69},{"type":"inlineCode","value":"http://localhost:8095","line":69},{"type":"text","value":" in a browser. Type ","line":69},{"type":"inlineCode","value":"owner@example.com","line":69},{"type":"text","value":", press ","line":69},{"type":"strong","children":[{"type":"text","value":"Continue","line":69}],"line":69},{"type":"text","value":", type the password and press ","line":69},{"type":"strong","children":[{"type":"text","value":"Sign in","line":69}],"line":69},{"type":"text","value":". The first screen is ","line":69},{"type":"strong","children":[{"type":"text","value":"Tenants","line":69}],"line":69},{"type":"text","value":": \"No tenants yet\", \"A tenant is one client organization. Create the first one to start adding workspaces and members.\"","line":69}],"line":69}],"line":69},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Read the Health screen.","line":71}],"line":71},{"type":"text","value":" In the menu on the left under ","line":71},{"type":"strong","children":[{"type":"text","value":"Instance","line":71}],"line":71},{"type":"text","value":", choose ","line":71},{"type":"strong","children":[{"type":"text","value":"Health","line":71}],"line":71},{"type":"text","value":". It says ","line":71},{"type":"strong","children":[{"type":"text","value":"Ready","line":71}],"line":71},{"type":"text","value":", \"This replica takes requests.\", the database and object store as ","line":71},{"type":"strong","children":[{"type":"text","value":"Answers","line":71}],"line":71},{"type":"text","value":", ","line":71},{"type":"strong","children":[{"type":"text","value":"Version","line":71}],"line":71},{"type":"text","value":" ","line":71},{"type":"inlineCode","value":"0.5.0","line":71},{"type":"text","value":", and under ","line":71},{"type":"strong","children":[{"type":"text","value":"MASTER KEY","line":71}],"line":71},{"type":"text","value":" a fingerprint of your key, with ","line":71},{"type":"inlineCode","value":"MASTER_KEY_SECONDARY","line":71},{"type":"text","value":" ","line":71},{"type":"strong","children":[{"type":"text","value":"Not set","line":71}],"line":71},{"type":"text","value":". Under ","line":71},{"type":"strong","children":[{"type":"text","value":"THIS REPLICA'S SETTINGS","line":71}],"line":71},{"type":"text","value":" it says ","line":71},{"type":"strong","children":[{"type":"text","value":"Workers","line":71}],"line":71},{"type":"text","value":" \"Started in a worker host\", and ","line":71},{"type":"strong","children":[{"type":"text","value":"Address","line":71}],"line":71},{"type":"text","value":" ","line":71},{"type":"inlineCode","value":"http://localhost:8095","line":71},{"type":"text","value":". ","line":71},{"type":"strong","children":[{"type":"text","value":"Apps","line":71}],"line":71},{"type":"text","value":" says \"At the console's address, each app sandboxed\".","line":71}],"line":71}],"line":71},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Run a script.","line":73}],"line":73},{"type":"text","value":" Follow ","line":73},{"type":"link","href":"../../start/tutorials/your-first-script","children":[{"type":"text","value":"your first script","line":73}],"line":73},{"type":"text","value":", from step 1, on this instance. The test pane shows ","line":73},{"type":"strong","children":[{"type":"text","value":"Succeeded","line":73}],"line":73},{"type":"text","value":", and the workspace's ","line":73},{"type":"strong","children":[{"type":"text","value":"First steps","line":73}],"line":73},{"type":"text","value":" list has ","line":73},{"type":"strong","children":[{"type":"text","value":"A worker to run code","line":73}],"line":73},{"type":"text","value":" done. The worker host starts the worker that ran it.","line":73}],"line":73}],"line":73},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Take a backup.","line":75}],"line":75}],"line":75},{"type":"code","value":"docker compose -f compose.yaml exec -T postgres pg_dump -U platform platform > backup.sql","lang":"bash","line":77},{"type":"paragraph","children":[{"type":"text","value":"The file is the instance's database: in the run behind this page it was 262 KB and held 110 ","line":81},{"type":"inlineCode","value":"CREATE TABLE","line":81},{"type":"text","value":" statements. The object store holds uploaded bundles and files and is backed up separately. A dump is no use without the ","line":81},{"type":"inlineCode","value":"MASTER_KEY","line":81},{"type":"text","value":" that sealed what is in it: keep each key as long as the backups it sealed.","line":81}],"line":81}],"line":75},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Remove the first-operator lines.","line":83}],"line":83},{"type":"text","value":" Delete ","line":83},{"type":"inlineCode","value":"BOOTSTRAP_ADMIN_EMAIL","line":83},{"type":"text","value":" and ","line":83},{"type":"inlineCode","value":"BOOTSTRAP_ADMIN_PASSWORD","line":83},{"type":"text","value":" from ","line":83},{"type":"inlineCode","value":".env","line":83},{"type":"text","value":", as its comment says to, and run step 3 again. The control plane restarts. Sign in again: the same operator, the same tenants.","line":83}],"line":83}],"line":83},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Check from the command line.","line":85}],"line":85},{"type":"text","value":" From the checkout, ","line":85},{"type":"inlineCode","value":"VOLVEL_URL=http://localhost:8095 node packages/cli/dist/bin.js status","line":85},{"type":"text","value":" says the version and \"Ready\".","line":85}],"line":85}],"line":85}],"line":19}],"line":18,"endLine":86},{"type":"heading","depth":2,"id":"what-you-built","children":[{"type":"text","value":"What you built","line":88}],"line":88},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"An instance on ","line":90},{"type":"inlineCode","value":"http://localhost:8095","line":90},{"type":"text","value":": a control plane, a worker host, a database and an object store, as four containers of one Compose project.","line":90}],"line":90},{"type":"listItem","children":[{"type":"text","value":"A first operator, and a ","line":91},{"type":"inlineCode","value":".env","line":91},{"type":"text","value":" that holds the instance's secrets. It is the only copy of the master key, and it is the file to back up.","line":91}],"line":91},{"type":"listItem","children":[{"type":"text","value":"A backup of the database, ","line":92},{"type":"inlineCode","value":"backup.sql","line":92},{"type":"text","value":", and a script that ran on a worker the instance started.","line":92}],"line":92}],"line":90},{"type":"paragraph","children":[{"type":"text","value":"To stop the instance and keep its data: ","line":94},{"type":"inlineCode","value":"docker compose -f compose.yaml stop","line":94},{"type":"text","value":". ","line":94},{"type":"inlineCode","value":"docker compose -f compose.yaml down -v","line":94},{"type":"text","value":" also deletes the database and the object store.","line":94}],"line":94}]},"description":"Start an instance with Docker Compose on a single machine, sign in as its first operator, check that it is ready and that a script runs, take a backup, and keep the master key."}