Created
September 25, 2020 06:41
-
-
Save ryanwoodsmall/b6ee4b3c18321ca995eb3eb267c14882 to your computer and use it in GitHub Desktop.
config.yml for docker registry cleanup : registry garbage-collect /tmp/config.yml -m
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment