2021-06-08 15:11:18 -05:00
|
|
|
{
|
2023-01-31 12:35:33 -05:00
|
|
|
"distSpecVersion": "1.1.0-dev",
|
2022-02-24 15:31:36 -05:00
|
|
|
"storage": {
|
|
|
|
"rootDirectory": "/tmp/zot"
|
2021-06-08 15:11:18 -05:00
|
|
|
},
|
2022-02-24 15:31:36 -05:00
|
|
|
"http": {
|
|
|
|
"address": "127.0.0.1",
|
|
|
|
"port": "8080"
|
2021-06-08 15:11:18 -05:00
|
|
|
},
|
2022-02-24 15:31:36 -05:00
|
|
|
"log": {
|
|
|
|
"level": "debug"
|
2021-06-08 15:11:18 -05:00
|
|
|
},
|
2022-02-24 15:31:36 -05:00
|
|
|
"extensions": {
|
2021-06-08 15:11:18 -05:00
|
|
|
"sync": {
|
2021-12-28 08:29:30 -05:00
|
|
|
"enable": true,
|
2021-06-08 15:11:18 -05:00
|
|
|
"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": "5m",
|
|
|
|
"onlySigned": true,
|
|
|
|
"content": [
|
|
|
|
{
|
|
|
|
"prefix": "/repo1/repo",
|
|
|
|
"tags": {
|
|
|
|
"regex": "4.*",
|
|
|
|
"semver": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"prefix": "/repo1/repo",
|
|
|
|
"destination": "/repo",
|
|
|
|
"stripPrefix": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"prefix": "/repo2/repo"
|
2021-06-08 15:11:18 -05:00
|
|
|
}
|
2022-02-24 15:31:36 -05:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"urls": [
|
|
|
|
"https://registry2:5000",
|
|
|
|
"https://registry3:5000"
|
|
|
|
],
|
|
|
|
"pollInterval": "12h",
|
|
|
|
"tlsVerify": false,
|
|
|
|
"onDemand": false,
|
|
|
|
"content": [
|
|
|
|
{
|
|
|
|
"prefix": "/repo2",
|
|
|
|
"tags": {
|
|
|
|
"semver": true
|
|
|
|
}
|
2021-06-08 15:11:18 -05:00
|
|
|
}
|
2022-02-24 15:31:36 -05:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"urls": [
|
|
|
|
"https://docker.io/library"
|
|
|
|
],
|
|
|
|
"onDemand": true,
|
|
|
|
"tlsVerify": true,
|
|
|
|
"maxRetries": 6,
|
|
|
|
"retryDelay": "5m"
|
|
|
|
}
|
|
|
|
]
|
2021-06-08 15:11:18 -05:00
|
|
|
}
|
|
|
|
}
|
2022-03-07 03:45:10 -05:00
|
|
|
}
|