kino in the stack: the vel's chat beside the 1.0 site
The chat left with NATS at the move to 1.0. uhhm/kino 0.1.2 has an image now, so it comes back as a service under the profile `chat`: it shares the site's network namespace like gdo and kron, dials the site over dhd/1, signs people in at Rauthy as the client `chat`, listens on 3070 (the host Caddy's samtaler.tomtervel.no block already points there) and keeps its history in kino_data. The deploy takes CHAT_HOST, KINO_RELEASE and the secret CHAT_OAUTH2_CLIENT_SECRET, refuses the profile without them, and writes kino.env; deploy-tomtervel puts that file in place. README.md, "The chat", has the four steps, the last being kino's key into DHD_KEYS. Nothing changes until COMPOSE_PROFILES has `chat`: the profile keeps the service out, and the new published port (3070) has nothing behind it. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5fbDjRr9xfrtcDzcdJNr2
This commit is contained in:
4 files changed
+97
-7
No files matched your search
+2
-2
@@ -19,8 +19,8 @@ root=/srv/tomtervel/infrastructure
|
||||
stage=/var/lib/gitea-runner/tomtervel-env
|
||||
files=(.env portal.env)
|
||||
# Written only when the site runs what needs it (Rauthy, the money
|
||||
# service under the pay profile).
|
||||
optional=(rauthy.env kron.env)
|
||||
# service under the pay profile, the chat under the chat profile).
|
||||
optional=(rauthy.env kron.env kino.env)
|
||||
|
||||
[ -d "$root/.git" ] || { echo "no checkout at $root - bootstrap it first" >&2; exit 1; }
|
||||
for f in "${files[@]}"; do
|
||||
|
||||
Reference in new issue
Block a user