Uten Kanidm: Rauthy er innloggingen
dns / dns (push) Successful in 4s

Kanidm ut av stacken, bootstrap.sh, kanidm-setup.sh og kanidm/ borte.
Rauthy er en vanlig tjeneste, ikke en profil, og deployen krever dens
verdier i stedet for ID_HOST og KANIDM_API_TOKEN. Portalen får ingen
KANIDM_* lenger, så kontoene lages i Rauthy. id.tomtervel.no sender
videre til konto. Volumet kanidm_data blir liggende på kasse urørt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
This commit is contained in:
blandClaude Opus 5.5 committed 2026-11-08 13:32:28 +01:00
1 parent 7620cd15fb
commit ee0ab982a1
11 files changed
+121 -576

No files matched your search

+4 -4
View File
@@ -60,10 +60,10 @@ Nothing about Zoho's MX should appear.
prints its public half. Put it in `KASSE_DKIM`.
2. Actions -> dns -> Run workflow on main (or `dnscontrol push`). The apex
leaves the old website at this moment.
3. The Actions variables `PORTAL_HOST=tomtervel.no`, `ID_HOST=id.tomtervel.no`,
`CHAT_HOST=chat.tomtervel.no`, the deploy workflow run, and the Caddy blocks in
`host-caddy/` on kasse; Kanidm's domain is renamed before anyone
but the first person has a passkey.
3. The Actions variables `PORTAL_HOST=tomtervel.no`, `RAUTHY_HOST=konto.tomtervel.no`,
`CHAT_HOST=samtaler.tomtervel.no`, the deploy workflow run, and the Caddy blocks in
`host-caddy/` on kasse. `RAUTHY_HOST` is chosen once: a passkey belongs
to the name it was made on.
4. Only then `mail.from: post@tomtervel.no` in the content repo's
`site.yaml`; before step 2 that mail fails every check.
+6 -7
View File
@@ -12,7 +12,7 @@ var REG_NONE = NewRegistrar("none");
var DSP_CLOUDFLARE = NewDnsProvider("cloudflare");
// kasse: Klingenberg Bygg's host, where the vel's stack runs (portal,
// Kanidm, chat, gdo) behind kasse's own Caddy, and whose postfix sends
// Rauthy, chat, gdo) behind kasse's own Caddy, and whose postfix sends
// the vel's mail. Move the vel to a host of its own: change this.
var KASSE = "195.159.177.252";
@@ -30,13 +30,12 @@ D("tomtervel.no", REG_NONE, DnsProvider(DSP_CLOUDFLARE),
// websockets reach it as they are.
A("@", KASSE, CF_PROXY_OFF),
CNAME("www", "tomtervel.no.", CF_PROXY_OFF),
A("id", KASSE, CF_PROXY_OFF),
A("samtaler", KASSE, CF_PROXY_OFF),
// The chat's old name, kept so links from before still land: Caddy
// sends it on to samtaler.
A("chat", KASSE, CF_PROXY_OFF),
// Rauthy, the Norwegian sign-in, beside Kanidm while the vel tries it.
A("konto", KASSE, CF_PROXY_OFF),
A("samtaler", KASSE, CF_PROXY_OFF),
// The old names, kept so links from before still land: Caddy sends
// id on to konto (the login) and chat on to samtaler.
A("id", KASSE, CF_PROXY_OFF),
A("chat", KASSE, CF_PROXY_OFF),
// The old website, kept for now so the move can be undone: what the
// apex and web. pointed at before (Netlify, through Cloudflare). The