diff --git a/examples/README.md b/examples/README.md index ab51845d..fd6a9cb6 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1286,6 +1286,11 @@ sync can also read the certificates directly under certDir: Besides sync-auth.json file, zot also reads and uses docker credentials by default: https://docs.docker.com/reference/cli/docker/login/#description +### Streaming sync + +Under sync, set `"stream": true` to enable streaming. With this option enabled, blobs are streamed to clients as they are being downloaded +from the upstream registry. This does not require any configuration on the upstream. + ## Search and CVE scanning (Trivy) The `search` extension can include a `cve` section so zot downloads the [Trivy](https://github.com/aquasecurity/trivy) vulnerability database and exposes CVE data via the search API (for example GraphQL). diff --git a/examples/config-sync-normal-local-build.json b/examples/config-sync-normal-local-build.json deleted file mode 100644 index c398a4de..00000000 --- a/examples/config-sync-normal-local-build.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "distSpecVersion": "1.1.1", - "storage": { - "rootDirectory": "./temp/zotlocalbuildnormal" - }, - "http": { - "address": "127.0.0.1", - "port": "8082" - }, - "log": { - "level": "debug" - }, - "extensions": { - "sync": { - "enable": true, - "registries": [ - { - "urls": [ - "http://localhost:9000" - ], - "onDemand": true, - "tlsVerify": false, - "maxRetries": 5, - "retryDelay": "30s", - "syncTimeout": "10m" - } - ] - } - } -} \ No newline at end of file diff --git a/examples/config-sync-normal-mainline.json b/examples/config-sync-normal-mainline.json deleted file mode 100644 index 179ee10a..00000000 --- a/examples/config-sync-normal-mainline.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "distSpecVersion": "1.1.1", - "storage": { - "rootDirectory": "./temp/zotmainlinenormal" - }, - "http": { - "address": "127.0.0.1", - "port": "8081" - }, - "log": { - "level": "debug" - }, - "extensions": { - "sync": { - "enable": true, - "registries": [ - { - "urls": [ - "http://localhost:9000" - ], - "onDemand": true, - "tlsVerify": false, - "maxRetries": 5, - "retryDelay": "30s", - "syncTimeout": "10m" - } - ] - } - } -} \ No newline at end of file