aboutsummaryrefslogtreecommitdiffstats
path: root/tools/docker/results/docker-compose.yml
blob: 5c3ab1dc05300e4c0aa620082cd21b81db24ae87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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