fix: decode htpasswd contents before writing to file in Docker registry configuration
This commit is contained in:
parent
56a5c5ae4c
commit
1ef9726314
@ -17,9 +17,8 @@ services:
|
|||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
mkdir -p /auth
|
mkdir -p /auth
|
||||||
echo '${HT_CONTENTS}' > /auth/htpasswd
|
echo "${HT_CONTENTS}" | base64 -d > /auth/htpasswd
|
||||||
exec bin/registry serve /etc/docker/registry/config.yml
|
exec bin/registry serve /etc/docker/registry/config.yml
|
||||||
- /mnt/appdata/docker_registry/data:/var/lib/registry
|
|
||||||
networks:
|
networks:
|
||||||
- proxy-net
|
- proxy-net
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user