Skip to content

Commit a233d88

Browse files
committed
Use separate htpasswd for Docker Registry
1 parent e1e0053 commit a233d88

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

infra/services/core/docker/registry.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
- registry_data:/var/lib/registry
88
- ${INFRA_DIR}/config/registry/config.yml:/etc/docker/registry/config.yml
99
configs:
10-
- source: ".htpasswd"
10+
- source: ".htpasswd-registry"
1111
target: "/auth/.htpasswd"
1212
networks:
1313
- infra_network
@@ -50,3 +50,7 @@ volumes:
5050
type: nfs4
5151
o: "addr=${INFRA_FS_SERVER}"
5252
device: ":/${INFRA_FS_ROOT}/registry/data"
53+
54+
configs:
55+
.htpasswd-registry:
56+
file: "${INFRA_DIR}/config/registry/auth/.htpasswd"

0 commit comments

Comments
 (0)