perkeep/config/dev-server-config.json

64 lines
1.5 KiB
JSON
Raw Normal View History

{ "_for-emacs": "-*- mode: js2;-*-",
"baseURL": ["_env", "http://localhost:${CAMLI_PORT}"],
"password": ["_env", "${CAMLI_PASSWORD}"],
"prefixes": {
"/": {
"handler": "root",
"handlerArgs": {
"stealth": false
}
},
"/ui/": {
"handler": "ui",
"handlerArgs": {
"blobRoot": "/bs/",
"searchRoot": "/my-search/",
"jsonSignRoot": "/sighelper/"
}
},
"/sync/": {
"handler": "sync",
"handlerArgs": {
"from": "/bs/",
"to": "/indexer/"
}
},
"/sighelper/": {
"handler": "jsonsign",
"handlerArgs": {
"keyRing": ["_env", "${CAMLI_KEY_RING}"],
"secretRing": ["_env", "${CAMLI_SECRET_RING}"],
"keyId": "26F5ABDA"
}
},
"/bs/": {
"handler": "filesystem",
"handlerArgs": {
"path": ["_env", "${CAMLI_ROOT}"]
}
},
"/indexer/": {
"handler": "mysqlindexer",
"handlerArgs": {
"database": "devcamlistore",
"user": "root",
"password": "root",
"host": "127.0.0.1"
}
},
"/my-search/": {
"handler": "search",
"handlerArgs": {
"index": "/indexer/",
"owner": "sha1-c4da9d771661563a27704b91b67989e7ea1e50b8"
}
}
}
}