mapletree/lxc1/p2-apps/zot/config.json
admin c18b74d0dd
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
update zot config for logins
2026-02-06 12:56:16 -07:00

65 lines
No EOL
1.5 KiB
JSON

{
"distSpecVersion": "1.1.0",
"storage": {
"rootDirectory": "/var/lib/zot",
"gc": true,
"dedupe": true
},
"http": {
"address": "0.0.0.0",
"port": "5000"
},
"extensions": {
"sync": {
"enable": true,
"registries": [
{
"urls": ["https://registry-1.docker.io"],
"onDemand": true,
"tlsVerify": true,
"username": "{{ZOT_DOCKERHUB_USER}}",
"password": "{{ZOT_DOCKERHUB_TOKEN}}",
"content": [
{ "prefix": "docker-hub/**" }
]
},
{
"urls": ["https://ghcr.io"],
"onDemand": true,
"tlsVerify": true,
"username": "{{ZOT_GITHUB_USER}}",
"password": "{{ZOT_GITHUB_TOKEN}}",
"content": [
{ "prefix": "ghcr/**" }
]
},
{
"urls": ["https://lscr.io"],
"onDemand": true,
"tlsVerify": true,
"username": "{{ZOT_LSCR_USER}}",
"password": "{{ZOT_LSCR_TOKEN}}",
"content": [
{ "prefix": "lscr/**" }
]
},
{
"urls": ["https://codeberg.org"],
"onDemand": true,
"tlsVerify": true,
"username": "{{ZOT_CODEBERG_USER}}",
"password": "{{ZOT_CODEBERG_TOKEN}}",
"content": [
{ "prefix": "lscr/**" }
]
}
]
},
"ui": {
"enable": true
},
"search": {
"enable": true
}
}
}