You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docker/docker-compose.yml

43 lines
1.3 KiB

1 year ago
version: '3.8'
2 years ago
1 year ago
services:
registry-ui:
image: joxit/docker-registry-ui:main
container_name: registry-ui
restart: always
2 years ago
ports:
1 year ago
- 8087:80
2 years ago
environment:
1 year ago
- 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
2 years ago
networks:
- registry-ui-net
1 year ago
registry:
image: registry:2.8.2
container_name: registry
restart: always
2 years ago
environment:
1 year ago
REGISTRY_HTTP_HEADERS_Access-Control-Origin: '[http://registry.example.com]'
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Methods: '[HEAD,GET,OPTIONS,DELETE]'
REGISTRY_HTTP_HEADERS_Access-Control-Credentials: '[true]'
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Headers: '[Authorization,Accept,Cache-Control]'
REGISTRY_HTTP_HEADERS_Access-Control-Expose-Headers: '[Docker-Content-Digest]'
REGISTRY_STORAGE_DELETE_ENABLED: 'true'
volumes:
- ./registry/data:/var/lib/registry
- ./registry-config:/etc/docker/registry
2 years ago
networks:
- registry-ui-net
networks:
1 year ago
registry-ui-net: