zot-bin: Add configuration file
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
99
app-containers/zot-bin/files/config.json
Normal file
99
app-containers/zot-bin/files/config.json
Normal file
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user