use-buildset-registry: configure as a pull-through proxy
Docker has a curious behavior with respect to the registry-mirror setting: it will only use the credentials for dockerhub itself. Therefore, configure the buildset registry to be a pull-through cache for dockerhub, but with no credentials, so that we can set buildset registry credentials under the dockerhub url without their actually being used for dockerhub. Change-Id: I5daf93868d408d71cf2766fbe1bb17f2cfa8a3c7
This commit is contained in:
parent
cbff0cc355
commit
c8c439e0d8
@ -73,6 +73,9 @@
|
|||||||
REGISTRY_AUTH: htpasswd
|
REGISTRY_AUTH: htpasswd
|
||||||
REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd
|
REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd
|
||||||
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
|
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
|
||||||
|
REGISTRY_PROXY_REMOTEURL: https://registry-1.docker.io
|
||||||
|
REGISTRY_PROXY_USERNAME:
|
||||||
|
REGISTRY_PROXY_PASSWORD:
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ buildset_registry_root}}/data:/var/lib/registry"
|
- "{{ buildset_registry_root}}/data:/var/lib/registry"
|
||||||
- "{{ buildset_registry_root}}/certs:/certs"
|
- "{{ buildset_registry_root}}/certs:/certs"
|
||||||
|
Loading…
Reference in New Issue
Block a user