fix: use named volumes for deployment

- Replace local config mount with named volume
- Include config.yml content in Dockerfile
- Remove dependency on local files
This commit is contained in:
2025-11-05 09:30:46 -08:00
parent b23846cbcf
commit 644ee7b262
2 changed files with 23 additions and 5 deletions

View File

@@ -9,9 +9,7 @@ services:
- "5000"
volumes:
- registry-data:/var/lib/registry
- type: bind
source: ./config.yml
target: /etc/docker/registry/config.yml
- registry-config:/etc/docker/registry
networks:
- registry-network
@@ -21,4 +19,6 @@ networks:
volumes:
registry-data:
driver: local
registry-config:
driver: local