halkyon/deploy/compose.meditate-library.yaml

17 lines
810 B
YAML
Raw Normal View History

# 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