Skip to content

seven48/hubot-mongo-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-mongo-bridge

Bridge between hubot scripts and Rocket.Chat mongodb

Settings

You can set up project by using environment variables

NAME DESCRIPTION DEFAULT VALUE
HOST Host name for the server localhost
PORT Port number for the server 8000
MONGODB_HOST MongoDB host where app will connect localhost
MONGODB_PORT MongoDB port where app will connect 27017

Install

  • make

  • docker run -p 8000:8000 --env MONGODB_HOST='your_mongo_host' hubot-mongo-bridge-server

Usage

http://localhost:8000/locale?user_id=foo