Add reporting to MongoDB
[bottlenecks.git] / docker / bottleneck-compose / docker-compose.yml
index 0b256b5..31f8369 100644 (file)
@@ -1,6 +1,7 @@
 elasticsearch:
   image: elasticsearch:2.4.0
   command: elasticsearch -Des.network.host=0.0.0.0
+  privileged: true
   ports:
     - "9200:9200"
     - "9300:9300"
@@ -9,6 +10,7 @@ kibana:
   build: kibana/
   volumes:
     - ./kibana/config/:/opt/kibana/config/
+  privileged: true
   ports:
     - "5601:5601"
   links:
@@ -16,12 +18,29 @@ kibana:
 
 yardstick:
   restart: always
-  build: yardstick/
+  image: opnfv/yardstick:latest
   volumes:
-    - /var/run/docker/sock:/var/run/docker/sock
+    - /var/run/docker.sock:/var/run/docker.sock
+    - /tmp/:/tmp/
   ports:
     - "8888:5000"
+  privileged: true
+  environment:
+    - INSTALLER_IP=192.168.200.2
+    - INSTALLER_TYPE=compass
 
 bottlenecks:
   restart: always
-  build: bottlenecks/
\ No newline at end of file
+  build: bottlenecks/
+  volumes:
+    - /var/run/docker.sock:/var/run/docker.sock
+    - /tmp/:/tmp/
+  privileged: true
+  environment:
+    - INSTALLER_IP=192.168.200.2
+    - INSTALLER_TYPE=compass
+    - DEBUG=true
+    - NODE_NAME=${NODE_NAME}
+    - DEPLOY_SCENARIO=${DEPLOY_SCENARIO}
+    - BUILD_TAG=${BUILD_TAG}
+    - BRANCH=$(basename ${BRANCH})