compose.yml and portal/Dockerfile on kasse have carried uncommitted
edits since 2026-10-26: the learn cache, Ollama, and SITE_NAME: tomtervel.
A deploy runs git reset --hard, which would take them away. SITE_NAME
would then fall back to "Tomter Vel", the namespace tomter-vel, and from
portal 0.9 the site would come up empty under it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015TMMKWhj4225cSbXKhSz6e
The desk groups are read from the content's qualifies: and named as it
names them - this Kanidm is the vel's own - with the old tomtervel_*
groups renamed in place. The onboarding account manages every desk
group, since adding a member takes that right (measured: 404 without).
Sign-in scopes to idm_all_persons. SEED_ADMIN_EMAIL and
RESPONSIBLE_GROUP (redaktor) reach portal.env, and bootstrap no longer
drops the onboarding token when it rewrites portal.env. A second OAuth2
client lets redaktor sign in to prosjekt.klingenbergbygg.no; on the
Gitea host the script adds that sign-in source itself.
The login page's own name and logo need the admin account; the script
now says so rather than failing with 'Item not found'. .env.example
quotes SITE_NAME, which has a space and broke sourcing it.
Tested end to end against a local Kanidm 1.11.2, including a rerun and
a legacy tomtervel_kasserer with a member.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
The mailer moves in. Portal decides what to send and publishes it on
this NATS; gdo is what hands it to a mail server, and it belongs here
rather than shared, so the vel's mail leaves on the vel's own terms. It
has no mail server of its own and relays through the host's - on kasse,
Klingenberg Bygg's postfix - which is the one thing this stack borrows
and the one line that changes if the vel ever gets a host of its own.
Also:
- portal v0.5.2, four releases on from the v0.3.36 this pinned.
- The Kanidm setup makes the onboarding service account and its token.
The vel's desks invite neighbours, and portal needs a token to do it;
without one every invite fails closed. It goes in
idm_people_on_boarding, which may create a person and issue a first
credential reset and nothing else, plus idm_people_pii_read so an
invite finds someone who already has an account instead of making
them a second one.
- The deploy workflow runs. It was pointed at a `tomtervel` runner
label that has never existed, so every push queued and did nothing.
It now runs on kasse's host runner, which is not root and may run one
argumentless script that pulls this repo and brings the stack up.
- The hosts default to vel.klingenbergbygg.no and
id.vel.klingenbergbygg.no, which is where this actually runs. Both
already resolve to kasse.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
One host, four containers, content fetched from tomtervel/questions.
bootstrap.sh renders configs from .env and recovers the Kanidm admin;
kanidm-setup.sh creates the portal client and the desk groups. An
optional runner profile lets the content repo's reload reach this host.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>