0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/examples/config-popular-registries.json
Poulpatine bd7b21f3dc
docs: Add example for various popular public registries (#1550)
Signed-off-by: Poulpatine <poulpatine@gmail.com>
2023-06-30 21:53:10 +03:00

99 lines
2 KiB
JSON

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