Question

hubot rocket chat adapter not responding to redis

Posted October 17, 2016 1.7k views
Ubuntu

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?

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.

×
1 answer

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