2024-11-19 10:09:14 +01:00
|
|
|
services:
|
|
|
|
registry:
|
|
|
|
image: registry:2
|
|
|
|
container_name: registry
|
|
|
|
volumes:
|
|
|
|
- /mnt/raid/registry/data:/data
|
|
|
|
- ./auth:/auth
|
2024-11-21 13:38:37 +01:00
|
|
|
- ./conf/config.yml:/etc/docker/registry/config.yml
|
2024-11-19 10:09:14 +01:00
|
|
|
networks:
|
|
|
|
- nginx_proxy
|
|
|
|
|
|
|
|
registry-ui:
|
|
|
|
image: joxit/docker-registry-ui:main
|
|
|
|
container_name: registry-ui
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
- SINGLE_REGISTRY=true
|
|
|
|
- REGISTRY_TITLE=Docker Registry UI
|
|
|
|
- DELETE_IMAGES=true
|
|
|
|
- SHOW_CONTENT_DIGEST=true
|
|
|
|
- NGINX_PROXY_PASS_URL=http://registry:5000
|
|
|
|
- SHOW_CATALOG_NB_TAGS=true
|
|
|
|
- CATALOG_MIN_BRANCHES=1
|
|
|
|
- CATALOG_MAX_BRANCHES=1
|
|
|
|
- TAGLIST_PAGE_SIZE=100
|
|
|
|
- REGISTRY_SECURED=false
|
|
|
|
- CATALOG_ELEMENTS_LIMIT=1000
|
|
|
|
networks:
|
|
|
|
- nginx_proxy
|
|
|
|
|
|
|
|
networks:
|
|
|
|
nginx_proxy:
|
|
|
|
external: true
|
|
|
|
|