mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 11:37:56 +08:00
docs: update examples with the sync config example (#3573)
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>
This commit is contained in:
@@ -25,7 +25,8 @@
|
||||
"onDemand": true,
|
||||
"tlsVerify": true,
|
||||
"retryDelay": "5m",
|
||||
"preserveDigest": true
|
||||
"preserveDigest": true,
|
||||
"syncTimeout": "10m"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
],
|
||||
"onDemand": false,
|
||||
"tlsVerify": false,
|
||||
"PollInterval": "30m",
|
||||
"pollInterval": "30m",
|
||||
"content": [
|
||||
{
|
||||
"prefix": "**"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
"extensions": {
|
||||
"sync": {
|
||||
"credentialsFile": "",
|
||||
"DownloadDir": "/tmp/zot",
|
||||
"downloadDir": "/tmp/zot",
|
||||
"registries": [
|
||||
{
|
||||
"urls": [
|
||||
|
||||
@@ -74,7 +74,8 @@
|
||||
"onDemand": true,
|
||||
"tlsVerify": true,
|
||||
"maxRetries": 5,
|
||||
"retryDelay": "30s"
|
||||
"retryDelay": "30s",
|
||||
"syncTimeout": "10m"
|
||||
},
|
||||
{
|
||||
"urls": [
|
||||
|
||||
Reference in New Issue
Block a user