1
0
Fork 0
dri/registry-config-testing.yml

25 lines
562 B
YAML

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]
Access-Control-Allow-Origin: ['*']
Access-Control-Allow-Methods: ['GET, DELETE']
Access-Control-Allow-Headers: ['Authorization']
Access-Control-Expose-Headers: ['Content-Length, Www-Authenticate', 'Docker-Content-Digest']
health:
storagedriver:
enabled: true
interval: 10s
threshold: 3