File tree 1 file changed +0
-5
lines changed
1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,11 @@ cd $(dirname "$0")
22
22
# shellcheck disable=SC2034
23
23
REGISTRY_PORT=${1-5000}
24
24
VOLUME=${2-/ var/ lib/ registry}
25
- REGISTRY_DOMAIN=${3-sea.hub}
26
25
27
26
container=sealer-registry
28
27
rootfs=$( dirname " $( pwd) " )
29
28
config=" $rootfs /etc/registry_config.yml"
30
29
htpasswd=" $rootfs /etc/registry_htpasswd"
31
- certs_dir=" $rootfs /certs"
32
30
image_dir=" $rootfs /images"
33
31
34
32
mkdir -p " $VOLUME " || true
82
80
regArgs=" -d --restart=always \
83
81
--net=host \
84
82
--name $container \
85
- -v $certs_dir :/certs \
86
83
-v $VOLUME :/var/lib/registry \
87
- -e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/$REGISTRY_DOMAIN .crt \
88
- -e REGISTRY_HTTP_TLS_KEY=/certs/$REGISTRY_DOMAIN .key \
89
84
-e REGISTRY_HTTP_DEBUG_ADDR=0.0.0.0:5001 \
90
85
-e REGISTRY_HTTP_DEBUG_PROMETHEUS_ENABLED=true"
91
86
You can’t perform that action at this time.
0 commit comments