Every value the stack runs with is a Gitea Actions variable (repo) or secret (repo, and NATS_PASSWORD in the org). The deploy workflow checks all of them are set, writes .env, portal.env, nats.env and chat.env, and deploy-tomtervel (now in the repo) puts them in place as root and brings the stack up. A host name or version is a variable changed plus Run workflow.
nats.conf reads NATS_PASSWORD from its environment, so it is committed, not rendered. bootstrap.sh only makes Kanidm's config, certificate and admin recovery.
dns/: tomtervel.no as DNSControl. dns.yml previews on every push and applies only on Run workflow on main, with actions/checkout and actions/cache.
Before merging: the secrets in Gitea, and the new deploy-tomtervel installed on kasse. Merging deploys (same values as today); it does not change DNS.
- Every value the stack runs with is a Gitea Actions variable (repo) or secret (repo, and `NATS_PASSWORD` in the org). The deploy workflow checks all of them are set, writes `.env`, `portal.env`, `nats.env` and `chat.env`, and `deploy-tomtervel` (now in the repo) puts them in place as root and brings the stack up. A host name or version is a variable changed plus Run workflow.
- `nats.conf` reads `NATS_PASSWORD` from its environment, so it is committed, not rendered. `bootstrap.sh` only makes Kanidm's config, certificate and admin recovery.
- `dns/`: tomtervel.no as DNSControl. `dns.yml` previews on every push and applies only on Run workflow on main, with `actions/checkout` and `actions/cache`.
**Before merging:** the secrets in Gitea, and the new `deploy-tomtervel` installed on kasse. Merging deploys (same values as today); it does not change DNS.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
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
.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
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
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
bl
merged commit 6e424e6618 into main2026-11-07 16:49:17 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
NATS_PASSWORDin the org). The deploy workflow checks all of them are set, writes.env,portal.env,nats.envandchat.env, anddeploy-tomtervel(now in the repo) puts them in place as root and brings the stack up. A host name or version is a variable changed plus Run workflow.nats.confreadsNATS_PASSWORDfrom its environment, so it is committed, not rendered.bootstrap.shonly makes Kanidm's config, certificate and admin recovery.dns/: tomtervel.no as DNSControl.dns.ymlpreviews on every push and applies only on Run workflow on main, withactions/checkoutandactions/cache.Before merging: the secrets in Gitea, and the new
deploy-tomtervelinstalled on kasse. Merging deploys (same values as today); it does not change DNS.🤖 Generated with Claude Code
https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM