25 lines
503 B
JSON
25 lines
503 B
JSON
{
|
|
"storage": { "rootDirectory": "/var/lib/registry" },
|
|
"log": { "level": "info" },
|
|
"http": {
|
|
"address": "0.0.0.0",
|
|
"port": "5000",
|
|
"auth": {
|
|
"htpasswd": { "path": "/etc/zot/htpasswd" }
|
|
},
|
|
"accessControl": {
|
|
"repositories": {
|
|
"**": {
|
|
"anonymousPolicy": ["read"],
|
|
"policies": [
|
|
{
|
|
"users": ["bstein"],
|
|
"actions": ["create", "update", "delete"]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|