feat: registry

This commit is contained in:
2024-06-06 21:39:04 +08:00
parent 23ad772a53
commit c76c18289a
2 changed files with 42 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
version: 0.1
log:
fields:
service: registry
storage:
cache:
blobdescriptor: inmemory
filesystem:
rootdirectory: /var/lib/registry
delete:
enabled: true
http:
addr: :5000
headers:
X-Content-Type-Options: [nosniff]
health:
storagedriver:
enabled: true
interval: 10s
threshold: 3
proxy:
remoteurl: https://registry-1.docker.io