From baa999198b6ae8ec4372cbc6f2d23a56c662a228 Mon Sep 17 00:00:00 2001 From: Bart Verhagen Date: Thu, 21 Mar 2024 21:59:11 +0100 Subject: [PATCH] fix: make docker-registry compatible with Cloudflare R2 storage See https://community.cloudflare.com/t/all-non-trailing-parts-must-have-the-same-length/552190/6 for more context --- config/confd/templates/docker-registry.yml.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/config/confd/templates/docker-registry.yml.tmpl b/config/confd/templates/docker-registry.yml.tmpl index 7ec08ec..5b55573 100644 --- a/config/confd/templates/docker-registry.yml.tmpl +++ b/config/confd/templates/docker-registry.yml.tmpl @@ -63,6 +63,7 @@ storage: secure: true v4auth: true rootdirectory: {{getenv "REGISTRY2_STORAGEPATH"}} + chunksize: 104857600 {{else}} filesystem: rootdirectory: {{getenv "REGISTRY2_STORAGEPATH"}}