Spin up two elasticsearches in the example app

This commit is contained in:
Tom Wilkie
2015-05-21 13:16:02 +00:00
parent d645e0bc62
commit a6c0e94b15
2 changed files with 11 additions and 3 deletions
+10 -2
View File
@@ -18,9 +18,17 @@ redis:
goapp:
build: goapp
links:
- elasticsearch
elasticsearch:
- elasticsearch1
- elasticsearch2
elasticsearch1:
image: elasticsearch
expose:
- "9200"
- "9300"
elasticsearch2:
image: elasticsearch
expose:
- "9200"
- "9300"
links:
- elasticsearch1
+1 -1
View File
@@ -1,2 +1,2 @@
#!/bin/sh
/home/weave/app elasticsearch
/home/weave/app elasticsearch1 elasticsearch2