commit 5b9d270e53f07f07ce7520b31b7da8ae6da44b74
parent 93a9c08b5d04d1a96f0ac7cd69295cb654cd54e0
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 6 Oct 2026 08:55:44 -0400
docker: the source overlay's mount is long-form with create_host_path: false — a missing host .git fails `up` instead of becoming an empty root-owned dir
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/docker-compose.source.yml b/docker-compose.source.yml
@@ -17,11 +17,20 @@
# belong to your host user, the container runs as root). The scrub rules and
# the denylist the publish needs live in the config volume
# (ARCHILYZER_CONFIG_DIR, /data/config/archilyzer): `docker compose cp` them in.
-# RUNNING_IN_DOCKER.md, "Publishing".
+# RUNNING_IN_DOCKER.md, "Publish the archive".
+#
+# The long mount syntax with create_host_path: false, on purpose: the short form
+# makes a missing host path (a tarball install, a typo) into an empty root-owned
+# directory on the host. This way `up` fails and names the path instead.
services:
editor:
environment:
ARCHILYZER_SOURCE_REPO: /data/source.git
volumes:
- - ${ARCHILYZER_SOURCE_HOST_DIR:-./.git}:/data/source.git:ro
+ - type: bind
+ source: ${ARCHILYZER_SOURCE_HOST_DIR:-./.git}
+ target: /data/source.git
+ read_only: true
+ bind:
+ create_host_path: false