mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
9074f8483b
feat(metaDB): add more image statistics info Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
68 lines
2 KiB
JSON
68 lines
2 KiB
JSON
{
|
|
"distSpecVersion": "1.1.0-dev",
|
|
"storage": {
|
|
"rootDirectory": "/tmp/zot",
|
|
"gc": true,
|
|
"gcDelay": "2h",
|
|
"gcInterval": "1h",
|
|
"retention": {
|
|
"dryRun": false,
|
|
"delay": "24h",
|
|
"policies": [
|
|
{
|
|
"repositories": ["infra/*", "prod/*"],
|
|
"deleteReferrers": false,
|
|
"keepTags": [{
|
|
"patterns": ["v2.*", ".*-prod"]
|
|
},
|
|
{
|
|
"patterns": ["v3.*", ".*-prod"],
|
|
"pulledWithin": "168h"
|
|
}]
|
|
},
|
|
{
|
|
"repositories": ["tmp/**"],
|
|
"deleteReferrers": true,
|
|
"deleteUntagged": true,
|
|
"keepTags": [{
|
|
"patterns": ["v1.*"],
|
|
"pulledWithin": "168h",
|
|
"pushedWithin": "168h"
|
|
}]
|
|
},
|
|
{
|
|
"repositories": ["**"],
|
|
"deleteReferrers": true,
|
|
"deleteUntagged": true,
|
|
"keepTags": [{
|
|
"mostRecentlyPushedCount": 10,
|
|
"mostRecentlyPulledCount": 10,
|
|
"pulledWithin": "720h",
|
|
"pushedWithin": "720h"
|
|
}]
|
|
}
|
|
]
|
|
},
|
|
"subPaths": {
|
|
"/a": {
|
|
"rootDirectory": "/tmp/zot1",
|
|
"dedupe": true,
|
|
"retention": {
|
|
"policies": [
|
|
{
|
|
"repositories": ["infra/*", "prod/*"],
|
|
"deleteReferrers": false
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"http": {
|
|
"address": "127.0.0.1",
|
|
"port": "8080"
|
|
},
|
|
"log": {
|
|
"level": "debug"
|
|
}
|
|
}
|