Created
February 21, 2016 11:01
-
-
Save ian-kent/610ffb9093096dc9cb99 to your computer and use it in GitHub Desktop.
Docker containers in websysd
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
{ | |
"Name": "external", | |
"Tasks": [{ | |
"Name": "kafka", | |
"Command": "docker run -p 2181:2181 -p 9092:9092 --env ADVERTISED_HOST=`docker-machine ip \\`docker-machine active\\`` --env ADVERTISED_PORT=9092 spotify/kafka", | |
"Executor": ["/bin/sh", "-c"], | |
"Service": true | |
}, { | |
"Name": "kafka-manager", | |
"Command": "docker run -p 9000:9000 -e ZK_HOSTS=\"192.168.99.100:2181\" -e APPLICATION_SECRET=letmein sheepkiller/kafka-manager", | |
"Executor": ["/bin/sh", "-c"], | |
"Service": true | |
}, { | |
"Name": "mongodb", | |
"Command": "docker run -p 27017:27017 mongo", | |
"Executor": ["/bin/sh", "-c"], | |
"Service": true | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment