Hubl.in has been Dockerized
Hubl.in, the free videoconference application, is now also available as a Docker container. It has been published in the Docker Hub, so anyone can run his own Hubl.in instance without effort.
It requires MongoDB and Redis to run, which is as simple as:
docker pull mongo
docker run -d --name db mongo
docker pull redis
docker run -d --name redis redis
This will pull the mongo and redis official containers, and start them with the db and redis names.
Then let’s pull and start the Hubl.in container on port 8080, with the required links to mongo and redis instances:
docker pull linagora/hublin
docker run -p 8080:8080 — link db:db — link redis:redis linagora/hublin
Hubl.in is now started. If you use boot2docker, you can get the right IP with the ‘boot2docker ip’ command. Take a look at this video which shows exactly all of this:
The official Hubl.in image is updated on each commit, you can also play with the awesome docker-compose, which allows to describe and run distributed applications across containers without effort:
git clone https://github.com/linagora/hublin.git
cd hublin
docker-compose up
This will pull all the required containers (here redis and mongo), build the Hubl.in container if needed, and start all with the right links automatically. It’s quite magic: