Sign inSign up

hackedu/hubot-control

By hackedu

Updated almost 11 years ago

Hubot Control deployment with Docker

Image
0

4.7K

hackedu/hubot-control repository overview

Hubot Control

Control self-hosted Hubot like a boss!

Usage

Start a Postgres instance

docker run --name hubot-control-db -d -e USER="docker" -e DB="hubot_control" -e PASS="docker" paintedfox/postgresql

Create a data-only container to store Hubots

docker run --name hubot-control-data -v /usr/src/hubot-control/hubots busybox

Run database migrations

docker run --rm --link hubot-control-db:db -e RAILS_DB_USERNAME="docker" -e RAILS_DB_PASSWORD="docker" hackedu/hubot-control bundle exec rake db:migrate RAILS_ENV=production

Start Hubot Control

docker run --name hubot-control -d --link hubot-control-db:db --volumes-from hubot-control-data -e RAILS_DB_USERNAME="docker" -e RAILS_DB_PASSWORD="docker" -p 3000:3000 hackedu/hubot-control

Hubot Control will now be running on port 3000 of your system. Whenever you create a hubot , you'll want to restart Hubot Control and publish their HTTP ports (-p flag).

Tag summary

Content type

Image

Digest

sha256:bd724a497

Size

233.3 MB

Last updated

almost 11 years ago

docker pull hackedu/hubot-control