fix: decode htpasswd contents before writing to file in Docker registry configuration

This commit is contained in:
Nathan 2026-04-17 16:01:21 -04:00
parent 56a5c5ae4c
commit 1ef9726314

View File

@ -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: