registry config fixes

This commit is contained in:
2025-10-06 23:16:41 +05:30
parent aa4ee66d34
commit f07e2b9ccd

View File

@@ -1,16 +1,19 @@
version: 0.1
log:
level: debug
http:
addr: :5000
headers:
Access-Control-Allow-Origin: "http://registry.aetoskia.com
Access-Control-Allow-Methods: ["GET", "POST", "PUT", "DELETE", "OPTIONS"]
Access-Control-Allow-Headers: ["Authorization", "Content-Type"]
Access-Control-Expose-Headers: ["Docker-Content-Digest"]
Access-Control-Allow-Origin: "https://registry.aetoskia.com"
Access-Control-Allow-Methods: "GET, POST, PUT, DELETE, OPTIONS"
Access-Control-Allow-Headers: "Authorization, Content-Type"
Access-Control-Expose-Headers: "Docker-Content-Digest"
storage:
filesystem:
rootdirectory: /var/lib/registry
auth:
htpasswd:
realm: basic-realm