Skip to content

Instantly share code, notes, and snippets.

@johnmccabe
Last active June 9, 2017 21:48
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 johnmccabe/d08d01e77c266883949cffeba899d174 to your computer and use it in GitHub Desktop.
Save johnmccabe/d08d01e77c266883949cffeba899d174 to your computer and use it in GitHub Desktop.
version: '3'
services:
brooklyn:
image: johnmccabe/brooklyn
ports:
- "8081:8081"
links:
- "node1:node1"
node1:
image: johnmccabe/fakevmtest
ports:
- 22
- 8020
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true
version: '3'
services:
brooklyn:
image: johnmccabe/brooklyn
ports:
- "8081:8081"
links:
- "node1:node1"
- "node2:node2"
- "node3:node3"
node1:
image: johnmccabe/fakevmtest
ports:
- 22:22
- 80:80
- 8080:8080
- 443:443
- 8443:8443
node2:
image: johnmccabe/fakevmtest
ports:
- 22:22
- 80:80
- 8080:8080
- 443:443
- 8443:8443
node3:
image: johnmccabe/fakevmtest
ports:
- 22:22
- 80:80
- 8080:8080
- 443:443
- 8443:8443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment