dkregistry xai cli, and UI
This commit is contained in:
@@ -28,6 +28,7 @@ services:
|
||||
- /opt/shared/letsencrypt-2:/certs
|
||||
- /opt/shared/letsencrypt-2:/etc/letsencrypt
|
||||
- /opt/shared/dkregistry/auth:/auth
|
||||
- /opt/shared/dkregistry/config/config.yml:/etc/docker/registry/config.yml
|
||||
|
||||
deploy:
|
||||
mode: replicated
|
||||
@@ -52,29 +53,29 @@ services:
|
||||
fluentd-async-connect: 'true'
|
||||
tag: dkregistry
|
||||
|
||||
# registry-ui:
|
||||
# image: hyper/docker-registry-web
|
||||
# ports:
|
||||
# - 8087:8080
|
||||
# environment:
|
||||
# REGISTRY_URL: https://dkregistry.xai-corp.net:5000/v2
|
||||
# REGISTRY_NAME: dkregistry
|
||||
# REGISTRY_READONLY: 'false'
|
||||
# REGISTRY_AUTH_ENABLED: 'true'
|
||||
# REGISTRY_BASIC_AUTH: $apr1$2vrW.sPv$aIZ6xnQcvde6.kX7KvWm5/
|
||||
#
|
||||
# deploy:
|
||||
# mode: replicated
|
||||
# replicas: 1
|
||||
# restart_policy:
|
||||
# condition: any
|
||||
# delay: "1s"
|
||||
# max_attempts: 1
|
||||
# update_config:
|
||||
# parallelism: 1
|
||||
# delay: 2s
|
||||
# order: start-first
|
||||
# resources:
|
||||
# limits:
|
||||
# cpus: '2'
|
||||
# memory: 2048M
|
||||
|
||||
ui:
|
||||
image: joxit/docker-registry-ui:latest
|
||||
ports:
|
||||
- 8087:80
|
||||
environment:
|
||||
- REGISTRY_TITLE=Xai Corp. Private Docker Registry
|
||||
- REGISTRY_URL=https://dkregistry.xai-corp.net:5000
|
||||
- SINGLE_REGISTRY=true
|
||||
- DELETE_IMAGES=true
|
||||
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
delay: "1s"
|
||||
max_attempts: 1
|
||||
update_config:
|
||||
parallelism: 1
|
||||
delay: 2s
|
||||
order: start-first
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2'
|
||||
memory: 2048M
|
||||
|
||||
Reference in New Issue
Block a user