feat(demo): bring up coordinator + userservice, seed root admin

make demo-ui now starts the userservice (own Postgres + migrations) beside the
coordinator on a shared JWT secret, and seeds a root admin. The coordinator runs
in UI session mode, so /ui opens a login page instead of a basic-auth prompt.

- docker-compose.users.yml overlay: userservice stack + coordinator JWT wiring
- demo-ui.sh: waits for the userservice, logs in as the seeded admin to poll the
  now session-gated dashboard, and prints the admin credentials
- validated with docker compose config (6 services, merged env)
This commit is contained in:
Efremenko Arhip
2026-07-26 20:55:54 +03:00
parent c8c6455caf
commit 5a9a10c681
3 changed files with 112 additions and 10 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ help:
' make demo-down Stop the demo services and workers.' \
' make test / make vet Run Go verification.' \
'' \
'Demo UI: http://localhost:18080/ui (operator / demo-ui-secret).'
'Demo UI: http://localhost:18080/ui (login page; admin root@scimesh.local / rootpassword).'
demo-ui:
@DEMO_PROJECT="$(DEMO_PROJECT)" \