summaryrefslogtreecommitdiffstats
path: root/extra/docker/elk/docker-compose.yml
blob: 886563812f4ff90f3016faa5ac4bf8305d82323f (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
version: '3.1'

services:
  elasticsearch:
    image: onap/clamp-dashboard-elasticsearch:latest
    ports:
      - 9200:9200
    networks:
      es_net:
        aliases:
          - elasticsearch
    environment:
      - cluster.name=docker-cluster
      - bootstrap.memory_lock=false
      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"

  logstash:
    image: onap/clamp-dashboard-logstash:latest
    build:
      context: ../../../src/main/docker/logstash
      dockerfile: Dockerfile.logstash
    volumes:
      - ../../../src/main/docker/logstash/pipeline:/usr/share/logstash/pipeline
      - ./logstash-input:/log-input
    depends_on:
      - elasticsearch
    networks:
      es_net:
    environment:
      - dmaap_base_url=http://dmaapmocker:3904/
      - dmaap_user=user
      - dmaap_password=password
      - dmaap_consumer_group=clampdashboard
      - dmaap_consumer_id=clampdashboard
      - event_topic=DCAE-CL-EVENT
      - notification_topic=POLICY-CL-MGT
      - request_topic=APPC-CL
      - elasticsearch_base_url=elasticsearch
      - "LOGSTASH_USR=logstash"
      - "LOGSTASH_PWD=logstash"

  kibana:
    image: onap/clamp-dashboard-kibana:latest
    build:
      context: ../../../src/main/docker/kibana
      dockerfile: Dockerfile.kibana
    ports:
      - 5601:5601
    depends_on:
      - elasticsearch
    volumes:
      - ../../../src/main/docker/kibana/saved-objects/:/saved-objects/
      - ../../../src/main/docker/kibana/conf/kibana.yml:/usr/share/kibana/config/kibana.yml
      - ../../../src/main/docker/kibana/conf/keystore:/usr/share/kibana/config/keystore
    networks:
      es_net:

networks:
  es_net: