From aa872826355c5af7fb1f4f07a6aeb5959c31e5db Mon Sep 17 00:00:00 2001 From: Josh Sandlin Date: Tue, 28 Jul 2026 17:27:32 -0400 Subject: [PATCH] host volume mount, not just ephemeral docker storage --- .gitignore | 1 + docker-compose.yaml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 8541464..5f67d5d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ deploy +zot-data/ diff --git a/docker-compose.yaml b/docker-compose.yaml index ed6312a..5d75918 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -23,6 +23,10 @@ services: - "127.0.0.1:5000:5000" volumes: - ./zot-config.json:/etc/zot/config.json:ro + # Registry blobs live on the host, not in the container layer. Docker + # creates this directory on first start; zot runs as root so no chown + # dance is needed. Path matches storage.rootDirectory in zot-config.json. + - ./zot-data:/var/lib/zot networks: - ttlsh-network