avthart / mesos-compose

Docker Compose Mesos Marathon Traefik Weave Scope

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mesos-compose

Run a Dockerized Mesos and Marathon environment on your own machine so that you can develop and test locally. Weave Scope is installed for visualizing and monitoring your mesos/docker infrastructure (containers, processes, networks, etc.)

Versions:

  • Zookeeper 3.4.8
  • Mesos 0.28.1
  • Marathon 1.1
  • Weave Scope 0.13.1

Boot the infrastructure

We assume that you have installed the Docker Toolbox.

We first need to set the DOCKER_HOST_IP environment variable:

export DOCKER_HOST_IP=docker-machine ip

You can start Mesos and Marathon using Docker Compose:

docker-compose up -d

User Interfaces:

  • Marathon http://DOCKER_HOST_IP:8080/
  • Mesos http://DOCKER_MHOST_IP:5050/
  • Weave Scope http://DOCKER_HOST_IP:4040/

Traefik HTTP router

You can optionally run Traefik as a HTTP (Edge) router. See https://github.com/emilevauge/traefik

docker-compose -f traefik-compose.yml up -d

User Interfaces:

  • Traefik Admin http://DOCKER_MACHINE_IP:10080/

Consul

You can optionally run Consul for Service Discovery

docker-compose -f consul-compose.yml up -d

User Interfaces:

  • Consul UI http://DOCKER_MACHINE_IP:8500/

About

Docker Compose Mesos Marathon Traefik Weave Scope