2021-06-08 15:11:18 -05:00
|
|
|
{
|
|
|
|
"version":"0.1.0-dev",
|
|
|
|
"storage":{
|
|
|
|
"rootDirectory":"/tmp/zot"
|
|
|
|
},
|
|
|
|
"http":{
|
|
|
|
"address":"127.0.0.1",
|
2021-10-28 04:10:01 -05:00
|
|
|
"port":"8080"
|
2021-06-08 15:11:18 -05:00
|
|
|
},
|
|
|
|
"log":{
|
|
|
|
"level":"debug"
|
|
|
|
},
|
|
|
|
"extensions":{
|
|
|
|
"sync": {
|
|
|
|
"credentialsFile": "./examples/sync-auth-filepath.json",
|
|
|
|
"registries": [{
|
2021-12-29 10:14:56 -05:00
|
|
|
"urls": ["https://registry1:5000"],
|
2021-06-08 15:11:18 -05:00
|
|
|
"onDemand": false,
|
|
|
|
"pollInterval": "6h",
|
|
|
|
"tlsVerify": true,
|
|
|
|
"certDir": "/home/user/certs",
|
2022-01-10 11:06:12 -05:00
|
|
|
"maxRetries": 3,
|
|
|
|
"retryDelay": "5m",
|
2021-06-08 15:11:18 -05:00
|
|
|
"content":[
|
|
|
|
{
|
|
|
|
"prefix":"/repo1/repo",
|
|
|
|
"tags":{
|
|
|
|
"regex":"4.*",
|
|
|
|
"semver":true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"prefix":"/repo2/repo"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2021-12-29 10:14:56 -05:00
|
|
|
"urls": ["https://registry2:5000", "https://registry3:5000"],
|
2021-06-08 15:11:18 -05:00
|
|
|
"pollInterval": "12h",
|
|
|
|
"tlsVerify": false,
|
|
|
|
"onDemand": false,
|
2022-01-10 11:06:12 -05:00
|
|
|
"maxRetries": 5,
|
|
|
|
"retryDelay": "10m",
|
2021-06-08 15:11:18 -05:00
|
|
|
"content":[
|
|
|
|
{
|
|
|
|
"prefix":"/repo2",
|
|
|
|
"tags":{
|
|
|
|
"semver":true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2021-12-29 10:14:56 -05:00
|
|
|
"urls": ["https://docker.io/library"],
|
2021-06-08 15:11:18 -05:00
|
|
|
"onDemand": true,
|
2022-01-10 11:06:12 -05:00
|
|
|
"tlsVerify": true,
|
|
|
|
"maxRetries": 6,
|
|
|
|
"retryDelay": "5m"
|
2021-06-08 15:11:18 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|