A hubot brain using azure redis cache
- Running hubot on Azure App Service
- Running Azure Redis Cache
- SSL/TLS only
See http://www.jasonpoon.ca/2015/06/12/how-to-deploy-hubot-in-slack-to-azure/
Azure Web Site was integrated Azure App Service. So you can deploy hubot on Azure App Service similarly.
See https://azure.microsoft.com/en-us/documentation/articles/cache-nodejs-get-started/
You may skip the clause Enable the non-SSL endpoint, because node-redis has suporteded it already.
npm install hubot-azure-redis-brain --save
Then add hubot-azure-redis-brain to external-scripts.json
[
...
"hubot-azure-redis-brain",
...
]
You must set the following items in your Azure App Service's App settings.
- AZURE_REDIS_HOST (yourredishost.redis.cache.windows.net)
- AZURE_REDIS_PORT (default: 6380)
- AZURE_REDIS_ACCESS_KEY
- AZURE_REDIS_STORAGE_KEY (default: 'hubot-brain')