alpine-overlay/kubezero/docker-registry/config-example.patch

20 lines
464 B
Diff

--- a/cmd/registry/config-example.yml
+++ b/cmd/registry/config-example.yml
@@ -6,7 +6,7 @@
cache:
blobdescriptor: inmemory
filesystem:
- rootdirectory: /var/lib/registry
+ rootdirectory: /var/lib/docker-registry
http:
addr: :5000
headers:
@@ -16,3 +16,7 @@
enabled: true
interval: 10s
threshold: 3
+
+# Uncomment to use this Registry as pull-through cache for DockerHub.
+#proxy:
+# remoteurl: https://registry-1.docker.io