Skip to content

Instantly share code, notes, and snippets.

@tamizhgeek
Forked from ashwanthkumar/docker-compose.yml
Created February 25, 2016 15:39
Show Gist options
  • Save tamizhgeek/c13caed7eafa1eed94a4 to your computer and use it in GitHub Desktop.
Save tamizhgeek/c13caed7eafa1eed94a4 to your computer and use it in GitHub Desktop.
Docker compose setup to bring up a local marathon setup for testing / development
version: '2'
services:
zk:
image: jplock/zookeeper
network_mode: "host"
master:
image: mesosphere/mesos-master:0.27.0-0.2.190.ubuntu1404
network_mode: "host"
privileged: true
depends_on:
- zk
slave:
image: mesosphere/mesos-slave:0.27.0-0.2.190.ubuntu1404
network_mode: "host"
privileged: true
environment:
MESOS_MASTER: 127.0.0.1:5050
depends_on:
- master
marathon:
image: mesosphere/marathon:v0.15.2
network_mode: "host"
ports:
# If you're running things on Mac (boot2docker) and has setup port forwarding for all 40000-49999 ports on host machine
- "8080:48080"
- "8080:8080"
environment:
MARATHON_MASTER: 127.0.0.1:5050
depends_on:
- master
- slave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment