hubot rocket chat adapter not responding to redis

Posted October 17, 2016 2k views

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

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?

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.

Submit an Answer
1 answer

Please follow the instructions below -
How to run hubot?

  • Change your docker-compose.yml, where it says - 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 ascripts folder, in the same directory as docker-compose.yml, you’d add it like this: volumes: - ./scripts:/home/hubot/scripts