mirror of https://github.com/perkeep/perkeep.git
82 lines
1.6 KiB
JSON
82 lines
1.6 KiB
JSON
{ "_for-emacs": "-*- mode: js2;-*-",
|
|
"baseURL": "*** Populated by runtime. Ignore this.",
|
|
"auth": "userpass:camlistore:pass3179",
|
|
"prefixes": {
|
|
|
|
"/ui/": {
|
|
"handler": "ui",
|
|
"handlerArgs": {
|
|
"blobRoot": "/bs-and-maybe-also-index/",
|
|
"searchRoot": "/my-search/",
|
|
"jsonSignRoot": "/sighelper/"
|
|
}
|
|
},
|
|
|
|
"/bs-and-maybe-also-index/": {
|
|
"handler": "storage-cond",
|
|
"handlerArgs": {
|
|
"write": {
|
|
"if": "isSchema",
|
|
"then": "/bs-and-index/",
|
|
"else": "/bs/"
|
|
},
|
|
"read": "/bs/"
|
|
}
|
|
},
|
|
|
|
"/bs-and-index/": {
|
|
"handler": "storage-replica",
|
|
"handlerArgs": {
|
|
"backends": ["/bs/", "/indexer/"]
|
|
}
|
|
},
|
|
|
|
"/sighelper/": {
|
|
"handler": "jsonsign",
|
|
"handlerArgs": {
|
|
"secretRing": "test-secring.gpg",
|
|
"keyId": "26F5ABDA",
|
|
"publicKeyDest": "/bs/"
|
|
}
|
|
},
|
|
|
|
"/bs/": {
|
|
"handler": "storage-appengine",
|
|
"handlerArgs": {
|
|
}
|
|
},
|
|
|
|
"/bs2/": {
|
|
"handler": "storage-appengine",
|
|
"handlerArgs": {
|
|
"namespace": "two"
|
|
}
|
|
},
|
|
|
|
"/sync/": {
|
|
"enabled": false,
|
|
"handler": "sync",
|
|
"handlerArgs": {
|
|
"from": "/bs/",
|
|
"to": "/indexer/"
|
|
}
|
|
},
|
|
|
|
"/indexer/": {
|
|
"handler": "storage-aeindex",
|
|
"handlerArgs": {
|
|
"namespace": "idx1"
|
|
}
|
|
},
|
|
|
|
"/my-search/": {
|
|
"handler": "search",
|
|
"handlerArgs": {
|
|
"index": "/indexer/",
|
|
"owner": "sha1-ad87ca5c78bd0ce1195c46f7c98e6025abbaf007"
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|