Question

hubot rocket chat adapter not responding to redis

my hubot rocket.chat adapter works well except for every time i started hubot, I had to reset the following items:

export ROCKETCHAT_USER=bot
export ROCKETCHAT_PASSWORD=bot
export ROCKETCHAT_AUTH=password
export HUBOT_YOUTUBE_API_KEY=<your token>

I get the feel hubot is not really responding to redis that i installed. I do have hubot-redis-brain installed as well. Is there any other setting I need to do in order to make it work? Or should i just re-install the whole thing? what might be the possible reason?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Please follow the instructions below - How to run hubot?

  • Change your docker-compose.yml, where it says - ROCKETCHAT_URL=xxx.xxx.xxx.xxx:3000 change it to - ROCKETCHAT_URL=rocketchat:3000. You should connect to hubot through the link in the containers.
  • Indeed, you should be using hubot-rocketchat:latest with Rocket.Chat version above 0.37

How to customize with your own scrips?

  • You have to map a volume from your host to your container. You can do this by adding volumes: to your docker-compose.yml. If you had your custom scripts inside a scripts folder, in the same directory as docker-compose.yml, you’d add it like this:

volumes: - ./scripts:/home/hubot/scripts