host volume mount, not just ephemeral docker storage

This commit is contained in:
Josh Sandlin
2026-07-28 17:27:32 -04:00
parent 05c1670936
commit aa87282635
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
deploy
zot-data/
+4
View File
@@ -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