summaryrefslogtreecommitdiffstats
path: root/tools/docker/results/docker-compose.yml
diff options
context:
space:
mode:
authorSridhar Rao <sridhar.rao@spirent.com>2019-08-07 08:39:04 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-08-07 08:39:04 +0000
commit391e5ceb8958eff1f108cc2d589dd3a11c7c48a2 (patch)
tree9433aef428e9c4a27fdf16ad0f5edfda4fb8efdd /tools/docker/results/docker-compose.yml
parentd835dbe3fd144c2144669cdf31a96263be21ab51 (diff)
parentd691cc89e106d710f4d36bc3998501415588e2e1 (diff)
Merge "Docker: VSPERF Results Container."
Diffstat (limited to 'tools/docker/results/docker-compose.yml')
-rw-r--r--tools/docker/results/docker-compose.yml79
1 files changed, 79 insertions, 0 deletions
diff --git a/tools/docker/results/docker-compose.yml b/tools/docker/results/docker-compose.yml
new file mode 100644
index 00000000..5c3ab1dc
--- /dev/null
+++ b/tools/docker/results/docker-compose.yml
@@ -0,0 +1,79 @@
+version: '3'
+volumes:
+ elk-data:
+ influx-data:
+ grafana-data:
+ mongo-data:
+ testapi-logs:
+services:
+ influxdb:
+ image: influxdb:latest
+ ports:
+ - "25826:25826/udp"
+ - "25826:25826"
+ - "8083:8083"
+ - "8086:8086"
+ expose:
+ - "25826"
+ - "8086"
+ - "8083"
+ volumes:
+ - influx-data:/var/lib/influxdb
+ grafana:
+ image: opnfv/barometer-grafana
+ volumes:
+ - grafana-data:/var/lib/grafana
+ - ./grafana/dashboards:/opt/grafana/dashboards
+ ports:
+ - "3000:3000"
+ elk:
+ image: vsperf/elk
+ ports:
+ - "5601:5601"
+ - "9200:9200"
+ - "5044:5044"
+ volumes:
+ - elk-data:/var/lib/elasticsearch
+ - ./logstash/pipeline/30-output.conf:/etc/logstash/conf.d/30-output.conf
+ - ./logstash/pipeline/02-beats-input.conf:/etc/logstash/conf.d/02-beats-input.conf
+ - ./logstash/pipeline/20-collectd-input.conf:/etc/logstash/conf.d/20-collectd-input.conf
+ environment:
+ - discovery.type=single-node
+ mongo:
+ image: mongo:3.2.1
+ ports:
+ - "27017:27017"
+ volumes:
+ - mongo-data:/data/db
+ container_name: opnfv-mongo
+ testapi:
+ image: opnfv/testapi:latest
+ container_name: opnfv-testapi
+ volumes:
+ - testapi-logs:/home/testapi/logs
+ environment:
+ - mongodb_url=mongodb://opnfv-mongo:27017/
+ - base_url=http://0.0.0.0:8000
+ ports:
+ - "8000:8000"
+ - "8001:8001"
+ links:
+ - mongo
+ jupyter:
+ build:
+ context: ./jupyter
+ ports:
+ - "8888:8888"
+ links:
+ - postgres
+ volumes:
+ - ./notebooks:/notebooks
+ - ./notebooks/testresult-analysis.ipynb:/notebooks/testresult-analysis.ipynb
+ - ./data:/data
+ postgres:
+ image: postgres
+ restart: always
+ environment:
+ POSTGRES_USER: data
+ POSTGRES_PASSWORD: data
+ POSTGRES_DB: data