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
This commit is contained in:
4 files changed
+41
-3
No files matched your search
+26
@@ -140,6 +140,32 @@ services:
|
||||
# published 127.0.0.1:4222 port above, so no in-compose runner — and no
|
||||
# docker.sock/podman.sock mount — is needed here.
|
||||
|
||||
# The vel's conversations: every group the content names is a room,
|
||||
# portal speaks in them and decides who gets in. Its history is on the
|
||||
# vel's own NATS (stream tomtervel_CHAT); there is no Postgres. A
|
||||
# profile, since it needs chat.env: go-live sets COMPOSE_PROFILES=chat
|
||||
# in .env once it is there. Host-published for kasse's host Caddy
|
||||
# (chat.vel.klingenbergbygg.no -> here).
|
||||
cnats:
|
||||
profiles: ["chat"]
|
||||
image: docker.io/bendik/cnats:${CNATS_TAG:-no-tag-set}
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- path: chat.env
|
||||
required: false
|
||||
environment:
|
||||
# Must be the portal's own: a new name is a new, empty chat.
|
||||
SITE_NAME: tomtervel
|
||||
NATS_URL: nats://portal:${NATS_PASSWORD}@nats:4222
|
||||
KANIDM_URL: https://${ID_HOST}
|
||||
PUBLIC_URL: https://${CHAT_HOST:-chat.vel.klingenbergbygg.no}
|
||||
COOKIE_SECURE: "true"
|
||||
ports:
|
||||
- "127.0.0.1:3070:3000"
|
||||
depends_on:
|
||||
nats:
|
||||
condition: service_healthy
|
||||
|
||||
# Where uploads go: the pictures and documents a desk attaches, and what
|
||||
# `portal import` brings in. One node on this host, reachable only inside
|
||||
# the project; nothing is published. go-live.sh garage renders
|
||||
|
||||
Reference in new issue
Block a user