25 lines
483 B
YAML
25 lines
483 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
|
|
registry:
|
|
restart: always
|
|
image: registry:2.7
|
|
ports:
|
|
- 5001:5000
|
|
volumes:
|
|
- /mnt/d/registry-data:/var/lib/registry
|
|
- ./registry/config.yaml:/etc/docker/registry/config.yaml
|
|
|
|
ui:
|
|
image: joxit/docker-registry-ui:latest
|
|
ports:
|
|
- 9001:80
|
|
environment:
|
|
- REGISTRY_TITLE=bvn13 Docker Registry
|
|
- REGISTRY_URL=http://localhost:5001
|
|
- SINGLE_REGISTRY=true
|
|
depends_on:
|
|
- registry
|
|
|