Add docker-compose/Registry/docker-compose.yml

This commit is contained in:
2025-04-04 02:18:53 +00:00
parent 05bfaf692a
commit a654ea03b8

View File

@@ -0,0 +1,22 @@
version: '3.7'
services:
registry:
image: registry:latest
container_name: local-docker-registry
ports:
# Map to a host port, e.g., 5000. Change if needed.
- "5435:5000"
volumes:
# Persist registry data
- /3tbhdd/Registry/registry-data:/var/lib/registry
restart: always
networks:
# Use a common network if Gitea/Runner need to access it by name
- npm-crowdsec_crowdsec_proxy # Optional: Replace with your network name
volumes:
registry-data:
networks:
npm-crowdsec_crowdsec_proxy: # Optional: Define if not already defined
external: true # Or true if defined elsewhere