2021-12-28 08:29:30 -05:00
|
|
|
{
|
2022-02-24 15:31:36 -05:00
|
|
|
"distSpecVersion": "1.0.1-dev",
|
2021-12-28 08:29:30 -05:00
|
|
|
"storage": {
|
|
|
|
"rootDirectory": "/tmp/zot"
|
|
|
|
},
|
|
|
|
"http": {
|
|
|
|
"address": "127.0.0.1",
|
|
|
|
"port": "8080"
|
|
|
|
},
|
|
|
|
"log": {
|
|
|
|
"level": "debug"
|
|
|
|
},
|
|
|
|
"extensions": {
|
2022-02-24 15:31:36 -05:00
|
|
|
"metrics": {},
|
2021-12-28 08:29:30 -05:00
|
|
|
"sync": {
|
|
|
|
"credentialsFile": "./examples/sync-auth-filepath.json",
|
2022-02-24 15:31:36 -05:00
|
|
|
"registries": [
|
|
|
|
{
|
|
|
|
"urls": [
|
|
|
|
"https://registry1:5000"
|
|
|
|
],
|
|
|
|
"onDemand": false,
|
|
|
|
"pollInterval": "6h",
|
|
|
|
"tlsVerify": true,
|
|
|
|
"certDir": "/home/user/certs",
|
|
|
|
"maxRetries": 3,
|
|
|
|
"retryDelay": "15m",
|
|
|
|
"content": [
|
|
|
|
{
|
|
|
|
"prefix": "/repo1/repo",
|
|
|
|
"tags": {
|
|
|
|
"regex": "4.*",
|
|
|
|
"semver": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"prefix": "/repo2/repo"
|
2021-12-28 08:29:30 -05:00
|
|
|
}
|
2022-02-24 15:31:36 -05:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2021-12-28 08:29:30 -05:00
|
|
|
},
|
|
|
|
"search": {
|
|
|
|
"cve": {
|
|
|
|
"updateInterval": "2h"
|
|
|
|
}
|
2022-03-04 02:37:06 -05:00
|
|
|
},
|
|
|
|
"scrub": {
|
2022-09-27 20:06:50 -05:00
|
|
|
"enable": true,
|
2022-03-04 02:37:06 -05:00
|
|
|
"interval": "24h"
|
2021-12-28 08:29:30 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|