Files
gentoo-overlay/app-containers/zot-bin/files/config.json
2024-03-28 21:55:04 +01:00

100 lines
1.8 KiB
JSON

{
"distSpecVersion": "1.1.0",
"storage": {
"rootDirectory": "/var/lib/zot",
"dedupe": true,
"gc": true,
"gcDelay": "1h",
"gcInterval": "12h"
},
"http": {
"address": "127.0.0.1",
"port": "8080",
"externalUrl": "http://127.0.0.1:8080",
"realm": "zot",
"auth": {
"htpasswd": {
"path": "/etc/zot/htpasswd"
}
},
"accessControl": {
"adminPolicy": {
"users": [
"admin"
],
"groups": [
"admins"
],
"actions": [
"read",
"create",
"update",
"delete"
]
},
"groups": {
"admins": {
"users": [
"admin"
]
},
"developers": {
"users": []
},
"users": {
"users": []
}
},
"repositories": {
"**": {
"defaultPolicy": [],
"policies": [
{
"groups": [
"admins"
],
"actions": [
"read",
"create",
"update",
"delete"
]
},
{
"groups": [
"developers"
],
"actions": [
"read",
"create",
"update"
]
},
{
"groups": [
"users"
],
"actions": [
"read",
"create"
]
}
]
}
}
}
},
"log": {
"level": "info"
},
"extensions": {
"scrub": {
"enable": true,
"interval": "24h"
},
"ui": {
"enable": true
}
}
}