2026-09-18 20:06:53 +02:00
|
|
|
{
|
|
|
|
|
"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"
|
2026-09-18 22:25:08 +02:00
|
|
|
},
|
|
|
|
|
"extensions": {
|
|
|
|
|
"search": {
|
|
|
|
|
"enable": true
|
|
|
|
|
},
|
|
|
|
|
"ui": {
|
|
|
|
|
"enable": true
|
|
|
|
|
}
|
2026-09-18 20:06:53 +02:00
|
|
|
}
|
|
|
|
|
}
|