halkyon/deploy/compose.meditate-library.yaml
Tizian 「ティツィアーン」 fd9c2dfe76
feat(meditate,deploy): Meditate beside the instance, and every server's public address from .env
Meditate's deploy step (ADR 0038, step 7; ADR 0039, D14), as Todo's: the
server's Dockerfile with the library's check compiled beside it, its
production config on its own database and role, compose.meditate.yaml as a
member of the register, its site sending /library/* to the web server and
the rest to the API server, the operator's library read-only in a compose
file of its own, and redeploy.sh, backup.sh and the image replay taking it
in.

Every server's public address now comes from .env (Serverpod's
SERVERPOD_API_SERVER_PUBLIC_HOST and _WEB_SERVER_, which win over the
config file): Train, Todo and Meditate from their domains, Learn from
LEARN_PUBLIC_HOST, unset learn.halkyon.eu as before. Without it a server on
halkyon.li would name halkyon.eu in its SimpleLogin callback, profile pages
and privacy page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-11-08 19:59:39 +01:00

17 lines
810 B
YAML

# The operator's library for Halkyon Meditate (ADR 0038, D16): recordings, pictures and
# their library.yaml in a folder on the host, which Meditate's server reads, rereads every
# ten minutes and serves to people signed in. After compose.meditate.yaml in .env:
#
# COMPOSE_FILE=…:compose.meditate.yaml:compose.meditate-library.yaml
# MEDITATE_LIBRARY=/data/meditate-library
#
# A file of its own, as an instance may run Meditate without a library: its app then
# shows no library section. Read-only: the server never writes into the folder. Check
# a folder before pointing the instance at it (the server's Dockerfile says how).
services:
meditate-server:
environment:
MEDITATE_LIBRARY_DIR: /library
volumes:
- ${MEDITATE_LIBRARY:?set MEDITATE_LIBRARY in deploy/.env}:/library:ro