Files
weave-scope/experimental/example/docker-compose.yml
Tom Wilkie e8da5903f1 Small enhancements to the example app
- Explicity add go app to the example container, so it fails if you haven't built it.
- spin up 2 goapps and 3 elastic searches
2015-05-27 10:20:07 +00:00

57 lines
763 B
YAML

client:
build: client
links:
- qotd
- pyapp
pyapp:
build: pyapp
ports:
- "5000"
links:
- qotd
- redis
- goapp1
- goapp2
qotd:
build: qotd
expose:
- "4446"
redis:
image: redis
goapp1:
build: goapp
ports:
- "8080"
links:
- elasticsearch1
- elasticsearch2
- elasticsearch3
goapp2:
build: goapp
ports:
- "8080"
links:
- elasticsearch1
- elasticsearch2
- elasticsearch3
elasticsearch1:
image: elasticsearch
expose:
- "9200"
- "9300"
elasticsearch2:
image: elasticsearch
expose:
- "9200"
- "9300"
links:
- elasticsearch1
elasticsearch3:
image: elasticsearch
expose:
- "9200"
- "9300"
links:
- elasticsearch1
- elasticsearch2