#!/bin/bash # The SearXNG compose stack and settings files. # # Sourced by setup_searxng.sh; split out to keep it under the 250-line # cap. Sourced rather than run, so it inherits the caller's strict mode # and the variables defined above the source line. write_stack() { ensure_dir "$SEARX_CONFIG_DIR" reclaim_config_ownership cat >"$SEARX_COMPOSE" <