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
|
||||
- |
|
||||
mkdir -p /auth
|
||||
echo '${HT_CONTENTS}' > /auth/htpasswd
|
||||
echo "${HT_CONTENTS}" | base64 -d > /auth/htpasswd
|
||||
exec bin/registry serve /etc/docker/registry/config.yml
|
||||
- /mnt/appdata/docker_registry/data:/var/lib/registry
|
||||
networks:
|
||||
- proxy-net
|
||||
labels:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user