{ "_for-emacs": "-*- mode: js2;-*-", "baseURL": ["_env", "${CAMLI_BASEURL}"], "password": ["_env", "${CAMLI_PASSWORD}"], "prefixes": { "/": { "handler": "root", "handlerArgs": { "stealth": false } }, "/blog/": { "handler": "publish", "handlerArgs": { "rootName": "dev-blog-root", "blobRoot": "/bs/", "searchRoot": "/my-search/", "cache": "/cache/", "devBootstrapPermanodeUsing": "/sighelper/" } }, "/pics/": { "handler": "publish", "handlerArgs": { "rootName": "dev-pics-root", "blobRoot": "/bs/", "searchRoot": "/my-search/", "cache": "/cache/", "css": ["pics.css"], "js": ["camli.js", "pics.js"], "devBootstrapPermanodeUsing": "/sighelper/" } }, "/stub-test-disable/": { "handler": "publish", "enabled": false, "handlerArgs": { } }, "/ui/": { "handler": "ui", "handlerArgs": { "blobRoot": "/bs-and-maybe-also-index/", "searchRoot": "/my-search/", "jsonSignRoot": "/sighelper/", "cache": "/cache/", "publishRoots": ["/blog/", "/pics/"] } }, "/sync/": { "handler": "sync", "handlerArgs": { "from": "/bs/", "to": "/indexer/" } }, "/sighelper/": { "handler": "jsonsign", "handlerArgs": { "secretRing": ["_env", "${CAMLI_SECRET_RING}"], "keyId": "26F5ABDA", "publicKeyDest": "/bs/" } }, "/bs-and-index/": { "handler": "storage-replica", "handlerArgs": { "backends": ["/bs/", "/indexer/"] } }, "/bs-and-maybe-also-index/": { "handler": "storage-cond", "handlerArgs": { "write": { "if": "isSchema", "then": "/bs-and-index/", "else": "/bs/" }, "read": "/bs/" } }, "/bs/": { "handler": "storage-filesystem", "handlerArgs": { "path": ["_env", "${CAMLI_ROOT}"] } }, "/cache/": { "handler": "storage-filesystem", "handlerArgs": { "path": ["_env", "${CAMLI_ROOT_CACHE}"] } }, "/sharder/": { "handler": "storage-shard", "handlerArgs": { "backends": ["/s1/", "/s2/"] } }, "/s1/": { "handler": "storage-filesystem", "handlerArgs": { "path": ["_env", "${CAMLI_ROOT_SHARD1}"] } }, "/s2/": { "handler": "storage-filesystem", "handlerArgs": { "path": ["_env", "${CAMLI_ROOT_SHARD2}"] } }, "/repl/": { "handler": "storage-replica", "handlerArgs": { "backends": ["/r1/", "/r2/", "/r3/"], "minWritesForSuccess": 2 } }, "/r1/": { "handler": "storage-filesystem", "handlerArgs": { "path": ["_env", "${CAMLI_ROOT_REPLICA1}"] } }, "/r2/": { "handler": "storage-filesystem", "handlerArgs": { "path": ["_env", "${CAMLI_ROOT_REPLICA2}"] } }, "/r3/": { "handler": "storage-filesystem", "handlerArgs": { "path": ["_env", "${CAMLI_ROOT_REPLICA3}"] } }, "/indexer/": { "handler": "storage-mysqlindexer", "handlerArgs": { "database": ["_env", "${CAMLI_DBNAME}"], "user": "root", "password": "root", "host": "127.0.0.1", "blobSource": "/bs/" } }, "/my-search/": { "handler": "search", "handlerArgs": { "index": "/indexer/", "owner": "sha1-ad87ca5c78bd0ce1195c46f7c98e6025abbaf007" } } } }