Files
Registry/docker-compose.yml
renzaspiras d793a800ae fix: proper YAML config with printf
- Use printf for proper YAML formatting
- Add explicit config path to command
- Add config directory creation step
2025-11-05 09:43:01 -08:00

22 lines
370 B
YAML

version: '3.8'
services:
registry:
build: .
container_name: registry
restart: unless-stopped
expose:
- "5000"
volumes:
- registry-data:/var/lib/registry
networks:
- registry-network
command: ["/etc/docker/registry/config.yml"]
networks:
registry-network:
driver: bridge
volumes:
registry-data:
driver: local