fixed formatting and errors in zot config
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run

This commit is contained in:
admin 2026-02-06 15:08:30 -07:00
parent f1c8687150
commit 7d0bf3d895

View file

@ -15,42 +15,58 @@
"credentialsFile": "/etc/zot/creds.json", "credentialsFile": "/etc/zot/creds.json",
"registries": [ "registries": [
{ {
"urls": ["https://docker.io"], "urls": [
"https://registry-1.docker.io"
],
"onDemand": true, "onDemand": true,
"tlsVerify": true, "tlsVerify": true,
"content": [ "content": [
{ "prefix": "docker-hub/**", {
"stripPrefix": true "prefix": "docker-hub/**",
"destination": "/",
"stripPrefix": true
} }
] ]
}, },
{ {
"urls": ["https://ghcr.io"], "urls": [
"https://ghcr.io"
],
"onDemand": true, "onDemand": true,
"tlsVerify": true, "tlsVerify": true,
"content": [ "content": [
{ "prefix": "ghcr/**", {
"stripPrefix": true "prefix": "ghcr/**",
"destination": "/",
"stripPrefix": true
} }
] ]
}, },
{ {
"urls": ["https://lscr.io"], "urls": [
"https://lscr.io"
],
"onDemand": true, "onDemand": true,
"tlsVerify": true, "tlsVerify": true,
"content": [ "content": [
{ "prefix": "lscr/**", {
"stripPrefix": true "prefix": "lscr/**",
"destination": "/",
"stripPrefix": true
} }
] ]
}, },
{ {
"urls": ["https://codeberg.org"], "urls": [
"https://codeberg.org"
],
"onDemand": true, "onDemand": true,
"tlsVerify": true, "tlsVerify": true,
"content": [ "content": [
{ "prefix": "lscr/**", {
"stripPrefix": true "prefix": "codeberg/**",
"destination": "/",
"stripPrefix": true
} }
] ]
} }