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
This commit is contained in:
blandClaude Opus 5.5 committed 2026-11-07 16:44:51 +01:00
1 parent efdae35d15
commit 3bcd2bc68c
12 files changed
+282 -207

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
# NATS with JetStream: portal's records, events and projections live
# here. The password is NATS_PASSWORD from the container's environment
# (nats.env, written by the deploy workflow from the org secret).
port: 4222
http_port: 8222
max_payload: 8388608
max_connections: 1000
# User and password rather than a token: URL credentials
# (nats://user:pass@host) behave the same in every client library.
authorization {
users = [
{ user: "portal", password: $NATS_PASSWORD }
]
}
jetstream {
store_dir: /data
}