Open WebUI rehearsal: coreapp shell sources /coreapp/env.sh

Settings an upstream image's entrypoint builds from the Core's (a
database URL) go in /coreapp/env.sh, which the entrypoint sources and
coreapp shell now sources too, for one command and interactively.

Skill: that file; apps that migrate only inside the server; a pending
role isn't read-only; a never-shown password when an app insists on one;
keep the admin trigger when sso is dropped; $TMPDIR differs for any
command outside the sandbox.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-04 13:32:43 -07:00
co-authored by Claude Opus 5.5
parent 114b364cef
commit b855fd53f4
6 changed files with 53 additions and 12 deletions
+19
View File
@@ -579,6 +579,25 @@ Steps:
- [ ] David: sign in to listmonk-app as admin@dev.fedcom.net
(Super Admin, Settings), and send a campaign from
`listmonk-app@dev.fedcom.net`; remove it when done
- Rehearsed 2026-12-04 with Open WebUI (upstream Python image, the
slim variant; postgres with `vector`, sso): deployed at
`https://open-webui.dev.fedcom.net/`, its data and vector store
(pgvector) in the Core's database, Core SSO sign-in (a new
account's first sign-in, as a regular user: Open WebUI has no
viewer role), admin made at startup with `WEBUI_ADMIN_EMAIL` and
kept by a trigger, password sign-in off, data kept by
`--recreate`. No language model or embeddings on the Core, so
chatting and document processing wait for "AI needs". Fixed from
it: `coreapp shell` sources `/coreapp/env.sh` if the image has
one, so settings an upstream image's entrypoint builds (a
database URL) reach the app's tools there too. Skill: that file;
apps that migrate only inside the server (call its migration
function, with the app on the import path); a "pending" role
isn't read-only; a random never-shown password when an app
insists on one; keep the admin trigger if `sso` is dropped;
`$TMPDIR` differs for any command outside the sandbox
- [ ] David: sign in to open-webui as admin@dev.fedcom.net in a
browser (admin panel); remove it when done
- Done 2026-12-03: `[postgres] extensions = ["vector"]` in
coreapp.toml: the installer checks the Core has each one and
makes it in the app's database as the superuser (`CASCADE`, so