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.
25 lines
612 B
25 lines
612 B
version: '3'
|
|
|
|
services:
|
|
registry:
|
|
image: registry:2.8
|
|
restart: always
|
|
environment:
|
|
REGISTRY_AUTH: htpasswd
|
|
REGISTRY_AUTH_HTPASSWD_REALM: Registry
|
|
REGISTRY_AUTH_HTPASSWD_PATH: /auth/registry.password
|
|
REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: /data
|
|
volumes:
|
|
- ./auth:/auth
|
|
- ./data:/data
|
|
ui:
|
|
image: joxit/docker-registry-ui:2.3.3
|
|
restart: always
|
|
ports:
|
|
- 5000:80
|
|
environment:
|
|
- REGISTRY_TITLE=mfaizudd docker registry
|
|
- NGINX_PROXY_PASS_URL=http://registry:5000
|
|
- SINGLE_REGISTRY=true
|
|
depends_on:
|
|
- registry |