mirror of
https://github.com/project-zot/zot.git
synced 2024-12-30 22:34:13 -05:00
docs: Add example for various popular public registries (#1550)
Signed-off-by: Poulpatine <poulpatine@gmail.com>
This commit is contained in:
parent
6932e3ffca
commit
bd7b21f3dc
1 changed files with 99 additions and 0 deletions
99
examples/config-popular-registries.json
Normal file
99
examples/config-popular-registries.json
Normal file
|
@ -0,0 +1,99 @@
|
|||
{
|
||||
"distSpecVersion": "1.1.0-dev",
|
||||
"storage": {
|
||||
"rootDirectory": "/data"
|
||||
},
|
||||
"http": {
|
||||
"address": "0.0.0.0",
|
||||
"port": "5000"
|
||||
},
|
||||
"log": {
|
||||
"level": "info"
|
||||
},
|
||||
"extensions": {
|
||||
"sync": {
|
||||
"credentialsFile": "/config/credentials.json",
|
||||
"enable": true,
|
||||
"registries": [
|
||||
{
|
||||
"urls": [
|
||||
"https://docker.io/library"
|
||||
],
|
||||
"content": [
|
||||
{
|
||||
"destination": "/docker.io",
|
||||
"prefix": "**"
|
||||
}
|
||||
],
|
||||
"onDemand": true,
|
||||
"tlsVerify": true
|
||||
},
|
||||
{
|
||||
"urls": [
|
||||
"https://registry.gitlab.com"
|
||||
],
|
||||
"content": [
|
||||
{
|
||||
"destination": "/registry.gitlab.com",
|
||||
"prefix": "**"
|
||||
}
|
||||
],
|
||||
"onDemand": true,
|
||||
"tlsVerify": true
|
||||
},
|
||||
{
|
||||
"urls": [
|
||||
"https://ghcr.io"
|
||||
],
|
||||
"content": [
|
||||
{
|
||||
"destination": "ghcr.io",
|
||||
"prefix": "**"
|
||||
}
|
||||
],
|
||||
"onDemand": true,
|
||||
"tlsVerify": true
|
||||
},
|
||||
{
|
||||
"urls": [
|
||||
"https://quay.io"
|
||||
],
|
||||
"content": [
|
||||
{
|
||||
"destination": "/quay.io",
|
||||
"prefix": "**"
|
||||
}
|
||||
],
|
||||
"onDemand": true,
|
||||
"tlsVerify": true
|
||||
},
|
||||
{
|
||||
"urls": [
|
||||
"https://gcr.io"
|
||||
],
|
||||
"content": [
|
||||
{
|
||||
"destination": "/gcr.io",
|
||||
"prefix": "**"
|
||||
}
|
||||
],
|
||||
"onDemand": true,
|
||||
"tlsVerify": true
|
||||
},
|
||||
{
|
||||
"urls": [
|
||||
"https://registry.k8s.io"
|
||||
],
|
||||
"content": [
|
||||
{
|
||||
"destination": "/registry.k8s.io",
|
||||
"prefix": "**"
|
||||
}
|
||||
],
|
||||
"onDemand": true,
|
||||
"tlsVerify": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue