Skip to content

Instantly share code, notes, and snippets.

@rmoorman
Forked from HelloGrayson/fig.yml
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rmoorman/3ef677af045f41ccf4e2 to your computer and use it in GitHub Desktop.
Save rmoorman/3ef677af045f41ccf4e2 to your computer and use it in GitHub Desktop.
#
# Zookeeper
#
# https://registry.hub.docker.com/u/jplock/zookeeper/
#
zk:
image: jplock/zookeeper
ports:
- "2181:2181"
#
# Mesos
#
# https://registry.hub.docker.com/u/redjack/mesos-master/
# http://mesos.apache.org/documentation/latest/configuration/
#
master:
image: redjack/mesos-master
ports:
- "5050:5050"
links:
- "zk:zookeeper"
environment:
MESOS_WORK_DIR: /var/lib/mesos
MESOS_LOG_DIR: /var/log
MESOS_QUORUM: 1
MESOS_ZK: zk://zookeeper:2181/mesos
slave:
image: redjack/mesos-slave
links:
- "zk:zookeeper"
environment:
MESOS_MASTER: zk://zookeeper:2181/mesos
#
# Marathon
#
# https://registry.hub.docker.com/u/thefactory/marathon/
# https://mesosphere.github.io/marathon/docs/command-line-flags.html
#
marathon:
image: thefactory/marathon
ports:
- "8080:8080"
links:
- "zk:zookeeper"
command: "--master zk://zookeeper:2181/mesos --zk zk://zookeeper:2181/marathon"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment