Socket
Socket
Sign inDemoInstall

hubot-iwelt-mongodb-brain

Package Overview
Dependencies
20
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hubot-iwelt-mongodb-brain

Persist hubot's brain to MongoDB instead of Redis.


Version published
Maintainers
1
Created

Readme

Source

hubot-mongodb-brain travis npm slack

Persist Hubot's brain to MongoDB instead of Redis.

Usage

In a Hubot project repo, e.g. @mongodb-js/hubot, run:

npm install hubot-mongodb-brain --save;

Update the ./external-scripts.json in your hubot project repo to add hubot-mongodb-brain:

[
  "hubot-mongodb-brain"
]

Configuration

Set the MONGODB_URL environment variable to specify the MongoDB deployment to use [Default: mongodb://localhost:27017]. For example:

heroku config:set MONGODB_URL=mongodb://db.slack.mongodb.parts:27017/slack;

Debugging

Adjust the HUBOT_LOG_LEVEL environment variable should you run into problems. For example, to see the actual data in hubot's brain:

HUBOT_LOG_LEVEL=debug ./bin/hubot;

For safety, the actual values inside the brain will be logged using mongodb-redact:

License

Apache 2.0

FAQs

Last updated on 19 Apr 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc