43 lines
855 B
Django/Jinja
43 lines
855 B
Django/Jinja
{
|
|||
|
|
"distSpecVersion": "1.1.1",
|
||
|
|
"storage": {
|
||
|
|
"rootDirectory": "/var/lib/registry",
|
||
|
|
"retention": {
|
||
|
|
"dryRun": false,
|
||
|
|
"delay": "24h",
|
||
|
|
"policies": [
|
||
|
|
{
|
||
|
|
"repositories": ["**"],
|
||
|
|
"deleteReferrers": false,
|
||
|
|
"deleteUntagged": true,
|
||
|
|
"keepTags": [
|
||
|
|
{
|
||
|
|
"mostRecentlyPushedCount": {{ zot_retention_keep_count }},
|
||
|
|
"pushedWithin": "{{ zot_retention_keep_within }}"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"http": {
|
||
|
|
"address": "0.0.0.0",
|
||
|
|
"port": "5000",
|
||
|
|
"auth": {
|
||
|
|
"htpasswd": {
|
||
|
|
"path": "/etc/zot/htpasswd"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"accessControl": {
|
||
|
|
"repositories": {
|
||
|
|
"**": {
|
||
|
|
"defaultPolicy": ["read", "create", "update", "delete"]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"log": {
|
||
|
|
"level": "info"
|
||
|
|
}
|
||
|
|
}
|