Commit Graph
60 Commits
Author SHA1 Message Date
bl c0114ae323 wip: the stack for portal 1.0 2026-11-24 12:30:21 +01:00
blandClaude d1106dc1b8 move-1.0: the records from 0.19 into a 1.0 store, rehearsed
move.sh exports with 0.19.3, rewrites and imports with 1.0, takes the
sign-ups again through their form on a site only the host reaches, and
holds the store to the export. What that site would have mailed is posted
to sink.py and let go: left in the store, it goes out when gdo first dials.

README.md has the order of the switch and what it waits for: no gdo or
kron release dials a 1.0 site yet.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDjTQg4CJsNqEo7hhE7
2026-11-24 11:43:35 +01:00
blandClaude Opus 5.5 43421f0923 dns: DMARC reports go to dmarc@, not the board's inbox
dns / dns (push) Successful in 4s
Each large mailbox provider mails post@ a daily XML report, and the
board forwards them on. dmarc@ is an address at Zoho, to be made there
before the zone is pushed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 17:06:53 +01:00
blandClaude Fable 5.1 6d5e936f18 kron keeps an identity, and the Vipps keys may be given on the desk
A volume for kron's age identity (KRON_IDENTITY_FILE), KRON_LANG, and
kron.env written with only the VIPPS_* the deploy holds: none, and kron
asks for them through portal, sealed to that identity.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-11 22:41:19 +01:00
blandClaude Fable 5.1 99852cdce6 deploy-tomtervel: kron.env is one of the optional env files
The first deploy with the pay profile failed: compose wanted kron.env
in the checkout and the host script only moves the files it knows.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-10 22:27:40 +01:00
bl 6cbd6ada9b Merge branch 'main' into kron-pay 2026-11-10 22:05:04 +01:00
blandClaude Fable 5.1 459f780049 deploy: check out the repo, so its scripts are there
The deploy of #10 failed at the Rauthy providers step with
"./rauthy-providers.sh: No such file or directory": the job wrote env
files and ran the host script, but never had the repo itself.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-10 22:05:03 +01:00
blandClaude Fable 5.1 0c60e8f181 kron's image from project.uhhm.no, where its release publishes it
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-10 20:37:32 +01:00
blandClaude Fable 5.1 7e241a90d0 Tomter Vel's colours on Rauthy's pages, kept by the deploy
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-10 20:27:49 +01:00
blandClaude Fable 5.1 a0af480890 kron in the stack: the money service, Vipps ePayment for Medlemskap
Under the pay profile: kron.env from the Medlemskap sales unit's keys,
PAY_URL for portal once the profile is on, betaling.tomtervel.no in DNS
and kasse's Caddy, and vipps-webhook.sh for the one-time webhook
registration whose secret must never reach a public log.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-10 20:25:46 +01:00
blandClaude Fable 5.1 47342b0867 Vipps Login: auto_link, so Vipps and a password lead to the same account
A board member with a password account who presses Vipps was refused
and told to link it from the account page. Vipps verifies the email,
which is the same address the invite trusted, so the link is made on
the spot instead.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-10 20:24:27 +01:00
blandClaude Fable 5.1 c88d396ad7 README: the Vipps Login values, and auth providers on the API key
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-10 18:08:36 +01:00
blandClaude Fable 5.1 33e102dc25 Vipps Login as a sign-in provider in Rauthy, kept by the deploy
Rauthy has no file for its upstream providers, only its API, so
rauthy-providers.sh is the file: every deploy makes Vipps the first time
and updates it after, by name, from VIPPS_LOGIN_CLIENT_ID and
VIPPS_LOGIN_CLIENT_SECRET (the login sales unit's keys). Scopes openid
name email phoneNumber, PKCE, an account made on the first sign-in. The
redirect URI https://konto.tomtervel.no/auth/v1/providers/callback must
be registered on the sales unit in the Vipps portal. The portal API key
needs AuthProviders read, create and update for this.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-10 18:07:13 +01:00
blandClaude Opus 5.5 64fc9a1911 README: portal's Rauthy client needs the groups scope, or a sign-in carries no groups
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 14:39:43 +01:00
blandClaude Opus 5.5 b2ee900602 README: the groups are in Rauthy (PEOPLE_BACKEND=rauthy), as the variable says
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:21:27 +01:00
blandClaude Opus 5.5 b128801ee2 deploy: a "$" in a secret reaches the container whole
deploy / deploy (push) Successful in 20s
Compose reads an env_file the way it reads compose.yml: "$name" in a value
is a variable to fill in, and one that is not set comes out empty.
Rauthy's API keys are "<name>$<secret>", so RAUTHY_API_KEY reached portal
as "portal" alone: Rauthy answered 401 to every call, and every invite
failed with "the account could not be made just now". The env files'
values are the secrets themselves, so every "$" left in them is literal
and becomes compose's "$$". Checked with compose 5.7.0 (kasse's): the
container gets "portal$Abc123secret" from "portal$$Abc123secret".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 11:57:26 +01:00
blandClaude Opus 5.5 fdac5084d1 README: portal's Rauthy key needs roles too, and a dead key answers 401
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 11:39:07 +01:00
blandClaude Opus 5.5 4cf56ac588 Images upgrade the whole base, not part of it (pacman -Syu)
deploy / deploy (push) Successful in 1m38s
pacman -Sy then installing curl or gdo is a partial upgrade: with openssl
4.1.0 in the repos (November 2026) it pulls the new libssl while the base
image's own pacman, libarchive and cryptsetup still want libcrypto.so=3,
and refuses. The portal 0.18.2 deploy failed on it. -Syu moves the whole
image to what the repos have, which the builder is too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 10:41:32 +01:00
blandClaude Opus 5.5 69489e7e42 Previews: one name per branch under forhandsvisning.tomtervel.no
dns / dns (push) Successful in 6s
The content repo now runs one preview per branch, for five days after its
last push, behind its own router on 127.0.0.1:3066
(tomtervel/questions, .gitea/preview/). This is kasse's side of it:

- dns: *.forhandsvisning beside the bare name, both unproxied to kasse.
- host-caddy: the bare name and *.forhandsvisning go to 3066 instead of
  the single preview on 3065. A branch's name gets its certificate on
  demand, and only after the router says the branch has a preview, so
  made-up names cannot use up Let's Encrypt's limits. That needs the
  on_demand_tls ask option in kasse's global Caddyfile, described in the
  file. Also brings the file back in line with what kasse runs.
- README: the Previews section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:58:30 +01:00
blandClaude Opus 5.5 1943482d74 Forhåndsvisningen på 3065: 3060 er gullberg sin
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-08 16:09:09 +01:00
blandClaude Opus 5.5 07c632c1ee Forhåndsvisning: navn på portalbildet, DNS og Caddy for forhandsvisning.tomtervel.no
dns / dns (push) Successful in 5s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-08 15:52:45 +01:00
blandClaude Opus 5.5 ee0ab982a1 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
2026-11-08 13:32:28 +01:00
blandClaude Opus 5.5 5f69b217e9 Samtalene på samtaler.tomtervel.no, chat. sender videre
dns / dns (push) Successful in 5s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-08 13:21:27 +01:00
blandClaude Opus 5.5 1ef375a21c Write the bootstrap key only when it is set
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-08 12:07:53 +01:00
blandClaude Opus 5.5 9e986bfde4 Rauthy's first start may bootstrap a short-lived key for the clients
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-08 12:07:30 +01:00
blandClaude Opus 5.5 961d090b7d Rauthy as a compose profile: sign-in in Norwegian, off until asked for
dns / dns (push) Successful in 4s
A rauthy service under the profile of the same name, its config here
without secrets, and rauthy.env written by the deploy from Actions
secrets. OIDC_ISSUER moves portal's and the chat's sign-in to it,
RAUTHY_API_KEY lets portal make accounts there. konto.tomtervel.no in
DNS and kasse's Caddy, beside id. Nothing runs until RAUTHY_HOST, the
three secrets and the profile are set.

Tried locally: the config starts, the issuer is https://<host>/auth/v1/,
and a Norwegian browser gets the pages in nb.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-07 22:33:46 +01:00
blandClaude Opus 5.5 3dc0aa4869 kasse's Caddy for tomtervel.no, www, id and chat
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-07 17:50:49 +01:00
blandClaude Opus 5.5 1ea4ad7b03 Maps: MAPBOX_TOKEN (secret) and MAPBOX_STYLE (variable), both optional
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-07 17:50:33 +01:00
blandClaude Opus 5.5 7c0c244ade DNS: kasse's DKIM key for tomtervel.no
dns / dns (push) Successful in 5s
Made on kasse by kasse-dkim-tomtervel.sh (selector kasse); rspamd signs
mail From @tomtervel.no with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-07 16:58:02 +01:00
blandClaude Opus 5.5 26ccd0430d PORTAL_RELEASE is the org's variable, shared with the content lint
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-07 16:54:05 +01:00
blandClaude Opus 5.5 38e209ca4f DNS: the old website at gammel.tomtervel.no, no web.
dns / dns (push) Successful in 5s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-07 16:51:48 +01:00
blandClaude Opus 5.5 3bcd2bc68c Every value in Gitea's Actions variables and secrets
dns / dns (push) Successful in 11s
The stack's settings are repo variables, its secrets repo secrets, and
NATS_PASSWORD an org secret the content repo can share. The deploy
workflow checks they are all set, writes .env, portal.env, nats.env and
chat.env into the runner's own directory, and the root script (now in
the repo as deploy-tomtervel) pulls main, puts them in place as root's
and brings the stack up. So nothing is edited on the host or committed:
a host name or a version is a variable changed and a Run workflow.

nats.conf reads NATS_PASSWORD from its environment, so it is committed
rather than rendered. bootstrap.sh only makes Kanidm's config and
certificate and recovers its admins; kanidm-setup.sh reads portal.env,
and leaves the two secrets it makes in kanidm-setup.secrets for gt.

The DNS workflow uses actions/checkout and actions/cache (the runner's
cache server) for dnscontrol, at the DNSCONTROL_VERSION variable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-07 16:44:51 +01:00
blandClaude Opus 5.5 efdae35d15 DNS workflow: dnscontrol in the runner user's cache
dns / dns (push) Successful in 5s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-07 16:30:40 +01:00
blandClaude Opus 5.5 e183510466 DNS from CI: preview on every push, applied by hand on main
dns / dns (push) Failing after 5s
dns.yml runs DNSControl on kasse's host runner with the repo secret
CLOUDFLARE_API_TOKEN: check and preview on any push touching dns/,
push only from Run workflow on main, so a merge is never the cutover.
Push events only; the repo is public.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-07 16:29:56 +01:00
blandClaude Opus 5.5 a76e6321ee What the stack is, in git: .env committed, the secrets on the host
.env is what `podman compose` reads as is: the hosts, the versions and
where the content comes from, so moving to tomtervel.no or bumping portal
is a commit that the deploy workflow brings up. Nothing in it is secret.

The secrets stay on kasse in secrets.env (the old .env's NATS password,
OAuth2 secret and first person), and what the scripts render from it.
gdo and the chat get NATS_URL from nats.env instead of interpolating
the password, and portal takes its URLs and content settings from .env
over portal.env, so a new host name reaches it without re-running
bootstrap.sh. The deploy script on kasse is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-07 16:29:55 +01:00
blandClaude Opus 5.5 213ef712c7 DNS: the token in dns/cloudflare.env, gitignored
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-07 16:00:30 +01:00
blandClaude Opus 5.5 302a163fbd tomtervel.no's DNS as DNSControl, and the vel's own DKIM key on kasse
dns/dnsconfig.js is the whole zone for Cloudflare: the site, id and
chat pointing at kasse unproxied, Zoho's MX, SPF for Zoho and kasse,
DMARC reporting, and kasse's DKIM key once it is made.
kasse-dkim-tomtervel.sh makes that key in kasse's rspamd beside the
other domains'. dns/README.md has the token, the first-push check
against the live zone, and the order of the move.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
2026-11-07 15:36:36 +01:00
blandClaude Fable 5.1 f307d72907 The vel's conversations, in the repo as they run on kasse
deploy / deploy (push) Successful in 6s
The chat service was added on the host by go-live.sh chat and never
pushed, so a deploy took it out of compose.yml. This is the service as
the host ran it, with chat.env ignored and the sign-in pages named after
SITE_TITLE.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015TMMKWhj4225cSbXKhSz6e
2026-11-03 07:57:35 +01:00
blandClaude Fable 5.1 791b063d99 Garage in the project, for uploads and the import
deploy / deploy (push) Successful in 7s
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015TMMKWhj4225cSbXKhSz6e
2026-11-03 01:29:44 +01:00
blandClaude Opus 5.5 1bb21d7cbb Portal v0.10.2, and the host's own edits in the repo
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
2026-11-01 13:15:04 +01:00
blandClaude Fable 5.1 a30741ea43 portal v0.6.0: one binary, storylines
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
2026-09-30 15:40:34 +02:00
blandClaude Fable 5.1 e60f50d83a portal v0.5.10 with the groups kept in portal (PEOPLE_BACKEND=memberships)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
2026-09-30 14:12:24 +02:00
blandClaude Fable 5.1 fadf85f710 portal v0.5.8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
2026-09-30 13:55:48 +02:00
blandClaude Fable 5.1 5678f02e61 portal v0.5.6: a group may hold a page's responsibility
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
2026-09-30 08:28:04 +02:00
blandClaude Fable 5.1 88c16d0fc1 kanidm-setup: become the gitea user as root; README: postfix relays from the containers
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
2026-09-30 08:04:16 +02:00
blandClaude Fable 5.1 ba2da8f3b6 portal v0.5.5: a record answered from a list; no fixed arrow
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
2026-09-30 07:52:39 +02:00
blandClaude Fable 5.1 c4b3cc86d5 portal v0.5.4: accounts from the content, invites that can be sent again
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
2026-09-29 21:39:25 +02:00
blandClaude Opus 5.5 b653536391 kanidm-setup, all the way: desk groups from the content, no prefix, onboarding that works, the first person, redaktør, and Gitea sign-in
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
2026-09-29 15:45:41 +02:00
blandClaude Opus 5.5 415dea7230 portal v0.5.3: a way down the tree from every page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
2026-09-29 13:36:24 +02:00
blandClaude Opus 5 b7e8e0313e Match the Kanidm server to the CLI, and say why a token failed
deploy / deploy (push) Successful in 33s
Three things in one setup run, two of them mine.

The server image was 1.11.1 while the host's CLI is 1.11.2, and a
1.11.2 client looks up the domain entry at a UUID 1.11.1 does not
have. So `system domain set-displayname` and `set-image` both failed
with "Item not found", which says nothing about versions. The CLI had
been warning about the mismatch on every single call. Image bumped to
1.11.2; the README says to keep them together and which one to move.

The onboarding token asked for `--rw`, and the flag is spelled
`--readwrite`. The script swallowed stderr and reported a bare warning,
so a step that leaves every invite failing closed said nothing about
why. It now passes the right flag, and if it still fails it says what
the CLI said and prints the command to retry by hand.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-28 22:24:08 +02:00
blandClaude Opus 5 0967b9973b The login page says whose it is
Kanidm out of the box presents itself: its own name, its own mark. A
neighbour landing on a login page that belongs to nobody in particular
is right to hesitate about typing a password into it.

The setup script now sets the vel's display name and logo on both the
instance and the portal client. The logo comes from the content repo -
the same images/logo.svg site.yaml already uses as the favicon - so
the login page and the site are branded from one place, and the
branding follows the content rather than this repo.

Left alone deliberately: account recovery by email, and easter eggs.
Both are decisions, not decoration, and the README says so.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-28 21:43:17 +02:00
bl 81233498d3 kanidm-setup: do not ask to log in when already signed in 2026-09-28 21:01:12 +02:00
bl ea82e83d1f portal image: a base at least as new as the builder's glibc
deploy / deploy (push) Failing after 1m0s
2026-09-28 20:56:58 +02:00
bl 3222892605 gdo image: trust the registry's key instead of skipping the check
deploy / deploy (push) Failing after 3s
2026-09-28 20:53:41 +02:00
blandClaude Opus 5 d482ac43c2 gdo in the vel's own stack, and portal v0.5.2
deploy / deploy (push) Failing after 2s
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>
2026-09-28 20:37:07 +02:00
blandClaude Opus 4.8 debc0c9149 vel isolation on kasse: own Kanidm(:8443)+NATS(:4223) behind the host Caddy
deploy / deploy (push) Canceled after 0s
The vel keeps its own identity+bus so it can later lift onto a host of its own
unchanged. On kasse it runs in isolation fronted by kasse's host Caddy: kanidm
publishes 127.0.0.1:8443 (shared Kanidm is on 8310) and nats publishes
127.0.0.1:4223 (kasse's shared platform NATS owns 4222). README documents the
two conf.d site blocks (portal -> :3050, id -> https://localhost:8443 with
tls_insecure_skip_verify), the reload port, and the app@ handoff.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-28 12:31:14 +02:00
blandClaude Opus 4.8 74c120dc30 podman/caddy: fit kasse's single-front-Caddy model
deploy / deploy (push) Canceled after 0s
- caddy -> profiles: [edge]: on kasse the host Caddy already owns 80/443 and
  reverse-proxies vel.klingenbergbygg.no -> 127.0.0.1:3050, so the bundled
  Caddy is off by default (use `--profile edge` only on a standalone host)
- portal publishes 127.0.0.1:3050 so the host Caddy reaches it; the existing
  conf.d/vel.klingenbergbygg.no target is unchanged

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-28 12:15:30 +02:00
blandClaude Opus 4.8 de93e108ad podman: make the stack podman-friendly (drop docker.sock runner, pin XFF subnet)
deploy / deploy (push) Canceled after 0s
- bootstrap.sh / kanidm-setup.sh: docker compose -> podman compose; run rootful
  (as root) so Caddy can bind 80/443 and Kanidm sees a stable source IP
- compose.yml: remove the in-compose act_runner (it mounted docker.sock) — the
  host gitea-runner already covers it; pin the project network to 172.18.0.0/16
  so Kanidm's X-Forwarded-For trust (172.16/12) stays valid under Podman, whose
  default pool hands out unmatched 10.89.x addresses
- README / deploy.yml: podman + host-runner notes

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-28 11:15:29 +02:00
blandClaude Fable 5.1 506cb84e82 Desk groups are the committees
One Kanidm group per committee, named as the content names them, plus
kasserer, styret, komiteer and nabohjelp.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-23 06:48:31 +02:00
blandClaude Fable 5.1 29f2b9daec Tomter Vel's own platform: Caddy, NATS, Kanidm and portal as containers
deploy / deploy (push) Canceled after 0s
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>
2026-09-22 19:06:31 +02:00