- 
      
 - 
        
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
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 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