Author Archives: Bomba

Running on DC/OS

In this post I will quickly describe how to setup on DC/OS, which I used for a simple proof of concept.

Warning: This is example is not suitable for production use since it does not persist its data!


You need a up and running DC/OS Cluster with at least one instance of “Marathon-LB” nothing else is needed in first step.


By the end of this we want to have a running instance including its requirements on DC/OS behind our “Marathon-LB” loadbalancer.

Setup: has one simple requirement, which is mongoDB, which we have to install first.


MongoDB is available in the default “Universe” repository which comes with DC/OS, which makes it very easy for us to setup a single instance for testing (if you want to go for production you should use here a full replicaset!)

  1. Choose “mongodb” from the package repository for installation
  2. Choose “Advanced Installation”
  3. I want to run the whole setup in a group called “” so I update the service name to contain also the group-name
  4. During testing I noticed that the default “CPU” value is a bit low, so we will increase this to at least 2
  5. If you want to go for production should also update the “Username” and “Password” in the section “database”. For the POC I will just keep the default values
  6. Start the installation by clicking “Review & Install” and on “Install” in the following window, you can monitor the process in the service overview

As soon as this has finished we can continue with itself.

The team provided a ready to use docker image which we can utilize:

To continue we have to lookup the “Load Balanced Address” of the mongoDB installation, so we can provide the correct connection string. We find that in the “Configuration” section of the mongoDB service
With this in formation we can now deploy the container as a single service.

  1. Define the basic image (rocketchat/ and it’s resources, I assign 4 CPUs and 1GB of memory, otherwise I didn’t get this running
  2. In the networking section I use the “Virtual Network” and define the default port 3000 to be mapped for external access
  3. For observing the containers I define a simple health check for the login page
  4. Finally I define the required environment variables (PORT, ROOT_URL, MONGO_URL, MAIL_URL) and the HAPROXY_GROUP for our external access. We keep “http://localhost:3000” since I don’t know the final service port upfront ( will ask to change the URL after accessing it the first time, you can set it already to your final external URL if you know it upfront.
  5. Finalize the deployment and watch it starting ๐Ÿ™‚

After the setup has finished you can check the “servicePort” from the service to know which port you need on your loadbalancer
You can now access your installation through your marathon-lb node. The first user which registers with your instance will be the administrator user!

Alpentour 2014 – Snippet

Very short snippet of our tour along the alps

Music: Lindsey Stirling – Song of the Caged Bird

IOM TT Franken GW 2013 Muh Special

A promised special from our annually meeting with only scenes from the “Muh”.

Music: Lenny Kravitz – Fly Away

DJI Phantom Testflight

Small test of my new Toy ๐Ÿ™‚

IOM TT Franken GW 2012

A few impressions from our yearly motorcycle meeting.

Bike Season 2012

A few moments from 2012, hopefully next year will overcome that ๐Ÿ™‚


Massendefekt – Der Moment war ewig
Betontod – Mit Vollgas durch die Hรถlle