halkyon/deploy/compose.todo-search.yaml

16 lines
693 B
YAML
Raw Normal View History

# Place search for Halkyon Todo (ADR 0033, D32): Todo's server on the Photon of
# compose.search.yaml, which Train's server asks too. After both in .env:
#
# COMPOSE_FILE=…:compose.todo.yaml:compose.search.yaml:compose.todo-search.yaml
#
# A file of its own: Todo starts without it, its app offering no search, and an instance
# may run Photon for Train without Todo. Only Todo's server asks, for people signed in,
# and neither what is searched nor what is found is kept or logged; a task's location is
# sealed on the person's devices. Setting it up: sidecars/README.md, Todo.
services:
todo-server:
environment:
PHOTON_URL: http://photon:2322/
networks:
- search