Skip to content

Instantly share code, notes, and snippets.

@brianhyder
Created December 2, 2014 19:15
Show Gist options
  • Save brianhyder/79a5a20275dafdc5eedf to your computer and use it in GitHub Desktop.
Save brianhyder/79a5a20275dafdc5eedf to your computer and use it in GitHub Desktop.
Multi-Instance PencilBlue Configuration - All Mongo (No Cache Required)
{
"siteRoot": "http://mypencilblue.site.com",
"siteIP": "0.0.0.0",
"log_level": "info",
"registry": {
"type": "mongo",
"update_interval": 1000
},
"cache": {
"fake": true,
"host": "fake.cache.com",
"port": 6379,
"auth_pass": "v1xz7hCfduAdgPwTJQIcIrSQBwgZjXO6gkNiXCikiAc="
},
"db": {
"query_logging": false,
"name": "dbname",
"servers": [
"mongodb://somedb.mongolab.com:45077/"
],
"authentication": {
"un": "username",
"pw": "password",
"options": {
"authdb": "dbname"
}
}
},
"media": {
"provider": "mongo"
},
"cluster": {
"workers": "auto"
},
"command": {
"broker": "mongo",
"timeout": 4000
},
"session": {
"storage": "mongo"
},
"settings": {
"use_memory": false,
"use_cache": false
},
"templates": {
"use_memory": true,
"use_cache": false
},
"plugins": {
"caching": {
"use_memory": false,
"use_cache": false
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment