Files
zot/examples/config-docker-compat-sync.json
Andrei Aaron bd32c62eb6 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>
2025-11-21 11:44:30 -08:00

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"
}
]
}
}
}