Files
infrastructure/secrets.env.example
T
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

22 lines
872 B
Bash

# Copy to secrets.env on the host (chmod 600). Never committed: what the
# stack runs as is in .env, which is. bootstrap.sh and kanidm-setup.sh
# read both, .env first.
# Generated once by bootstrap.sh if left empty. bootstrap.sh also writes
# it into nats/nats.conf and nats.env (NATS_URL for gdo and the chat).
NATS_PASSWORD=
# Filled in by kanidm-setup.sh after it creates the Kanidm client.
OAUTH2_CLIENT_SECRET=
# The first person in: portal invites this address into the site's most
# privileged group (the board) and mails them the one-time link, once.
# Everyone else they invite themselves, from their desk. An address, so
# not in the public repo.
SEED_ADMIN_EMAIL=
SEED_ADMIN_NAME=
# Only for the optional runner profile: a registration token from
# prosjekt.klingenbergbygg.no -> tomtervel org -> Settings -> Actions -> Runners.
RUNNER_REGISTRATION_TOKEN=