mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 11:37:56 +08:00
bd32c62eb6
See https://github.com/project-zot/zot/pull/3537 Note this sync timeout is for the entire image. It is not per HTTP request. Signed-off-by: Andrei Aaron <andreifdaaron@gmail.com>
34 lines
805 B
JSON
34 lines
805 B
JSON
{
|
|
"distSpecVersion": "1.1.1",
|
|
"storage": {
|
|
"rootDirectory": "/tmp/zot"
|
|
},
|
|
"http": {
|
|
"address": "127.0.0.1",
|
|
"port": "8080",
|
|
"compat": [
|
|
"docker2s2"
|
|
]
|
|
},
|
|
"log": {
|
|
"level": "debug"
|
|
},
|
|
"extensions": {
|
|
"sync": {
|
|
"enable": true,
|
|
"credentialsFile": "./examples/sync-auth-filepath.json",
|
|
"registries": [
|
|
{
|
|
"urls": [
|
|
"https://index.docker.io"
|
|
],
|
|
"onDemand": true,
|
|
"tlsVerify": true,
|
|
"retryDelay": "5m",
|
|
"preserveDigest": true,
|
|
"syncTimeout": "10m"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |