commit b2c76161e1120c771fbea7cb8cf37e905aba7171
parent 974b29ff14dec2ed835226d70ca641f7ae4b7da8
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 6 Oct 2026 08:33:09 -0400
docker: the entrypoint makes ARCHILYZER_CONFIG_DIR (700, empty) on the first boot, so `docker compose cp` has somewhere to put the rules
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh
@@ -46,6 +46,13 @@ mkdir -p \
"${BUILDS_DIR}" \
"${SITE_OUT}" \
"${HOMEPAGE_OUT}"
+# The operator's private config dir (compose sets it inside the config volume),
+# made so `docker compose cp` has somewhere to put the source mirror's rules.
+# Only made, never filled: what goes in it is the operator's.
+if [ -n "${ARCHILYZER_CONFIG_DIR:-}" ] && [ ! -d "${ARCHILYZER_CONFIG_DIR}" ]; then
+ mkdir -p "${ARCHILYZER_CONFIG_DIR}"
+ chmod 700 "${ARCHILYZER_CONFIG_DIR}" || true
+fi
# The host's git common dir, mounted read-only by docker-compose.source.yml for
# the homepage's source mirror (`archilyzer source publish`). It belongs to the