Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 30fdeae2d87bf6173f1aafe98c31b61be1b6c5bc
parent 64ecd5b34ea2e40ae6ae94884a87d12ac8a810e9
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:
Mdocker-compose.source.yml | 13+++++++++++--
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