diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-21 20:14:04 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-21 20:15:06 +0200 |
commit | 472c7c7ab5ee8d0739168005be452fcbec9a8d8e (patch) | |
tree | 1803fa8675082d8bf4ba1c08737c12d96b0565ad /community/docker-registry/config-example.patch | |
parent | 82e559936bf930663f4eb53eccd455168ac76ada (diff) | |
download | aports-472c7c7ab5ee8d0739168005be452fcbec9a8d8e.tar.bz2 aports-472c7c7ab5ee8d0739168005be452fcbec9a8d8e.tar.xz |
community/docker-registry: precreate data dir and improve config
Diffstat (limited to 'community/docker-registry/config-example.patch')
-rw-r--r-- | community/docker-registry/config-example.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/community/docker-registry/config-example.patch b/community/docker-registry/config-example.patch new file mode 100644 index 0000000000..b07c96db2a --- /dev/null +++ b/community/docker-registry/config-example.patch @@ -0,0 +1,19 @@ +--- 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 |