Add the coordinator setup wizard for self-provisioned databases

This commit is contained in:
Emil
2026-08-02 18:14:36 +03:00
parent 320f52615e
commit 59e7fb0155
8 changed files with 529 additions and 11 deletions
+5 -2
View File
@@ -86,8 +86,11 @@ chmod +x coordinator
- **coordinator** needs PostgreSQL running (`DATABASE_URL`,
`COORDINATOR_STORAGE_DIR`, `JWT_SECRET`); the binary applies its embedded
schema migrations itself on startup (`AUTO_MIGRATE=false` opts out), so no
separate migration step is needed. The UI login additionally requires
`USERSERVICE_URL`.
separate migration step is needed. The interactive wizard provisions the
rest: it checks the database, creates it when missing, generates a
`JWT_SECRET`, and writes a `.env` file (`coordinator setup --help`, or
`make setup`; `--yes` for non-interactive runs). The UI login additionally
requires `USERSERVICE_URL`.
`coordinator --version` / `worker-agent --version` print the build tag.
Build and serve this documentation site: