mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
config: support multiple storage locations
added support to point multiple storage locations in zot by running multiple instance of zot in background. see examples/config-multiple.json for more info about config. Closes #181
This commit is contained in:
committed by
Ramkumar Chinchani
parent
9ca6eea940
commit
28974e81dc
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"version": "0.1.0-dev",
|
||||
"storage": {
|
||||
"rootDirectory": "/tmp/zot",
|
||||
"dedupe": true,
|
||||
"gc": true,
|
||||
"subPaths": {
|
||||
"/infra": {
|
||||
"rootDirectory": "/tmp/zot1",
|
||||
"dedupe": true
|
||||
},
|
||||
"/b": {
|
||||
"rootDirectory": "/tmp/zot2",
|
||||
"dedupe": true
|
||||
},
|
||||
"/c": {
|
||||
"rootDirectory": "/tmp/zot3",
|
||||
"dedupe": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"http": {
|
||||
"address": "127.0.0.1",
|
||||
"port": "5000",
|
||||
"ReadOnly": false
|
||||
},
|
||||
"log": {
|
||||
"level": "debug"
|
||||
},
|
||||
"extensions": {
|
||||
"search": {
|
||||
"cve": {
|
||||
"updateInterval": "24h"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user