Skip to content

posto/paas-in-a-box

 
 

Repository files navigation

Platform as a Service in the box

Starting the paas in a VM

Prerequisites

Please make sure you have the following packages installed:

  • vagrant
  • VirtualBox

Usage

$ cd vagrant $ vagrant up

This will start an Ubuntu VM, install Docker, and then will automatically run the fig configuration described below. At the end of the process, you can run $ vagrant ssh

to ssh into the VM and get access to all the docker instances.

Starting the paas directly on your machine

Prerequisites

  • Docker
  • ZK + Mesos + Marathon = as an orchestration tool
  • Consul = as K/V, monitoring, Service Directory and Registry
  • HAproxy + consul-haproxy = as LoadBalancer with automatic config generation
  • Fig.sh = as a spawner for developers and intgeration envirnment

Usage

In order to build the docker image you have to execute the following command once:

$ ./build-docker-images.sh

Then you have to create a valid fig.yml file:

$ HOSTNAME=boot2docker IP=192.168.59.103 ./genfig.sh

Where HOSTNAME and IP correspond to your local VM (i.e. boot2docker)

To start an instance of each service execute:

$ fig up -d

References

[1] https://www.docker.com/

[2] http://www.fig.sh/

[3] http://stackoverflow.com/questions/25217208/setting-up-a-docker-fig-mesos-environment

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 50.5%
  • Ruby 49.5%