blob: 3c5652a96f48b72ecc1f892e43cb22a2aff31fe0 [file] [log] [blame]
ac25505082fd72018-03-20 12:35:48 +01001version: '3.1'
2
3services:
4 elasticsearch:
ac25504ac26de2018-09-18 14:09:22 +02005 image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.1.3
ac25505082fd72018-03-20 12:35:48 +01006 ports:
7 - 9200:9200
8 networks:
9 es_net:
10 aliases:
11 - elasticsearch
ac255007401e82018-09-10 15:32:48 +020012 environment:
13 - cluster.name=docker-cluster
14 - bootstrap.memory_lock=false
15 - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ac25505082fd72018-03-20 12:35:48 +010016
17 logstash:
ac25504ac26de2018-09-18 14:09:22 +020018 image: docker.elastic.co/logstash/logstash-oss:6.1.3
ac25505082fd72018-03-20 12:35:48 +010019 volumes:
20 - ./logstash-conf:/config-dir
osgn422w67ca7eb2018-09-04 17:00:19 +020021 - ./logstash-input:/log-input
ac25505082fd72018-03-20 12:35:48 +010022 command: logstash -f /config-dir/logstash.conf
23 depends_on:
24 - elasticsearch
25 networks:
26 es_net:
ac2550792d8022018-03-27 13:31:03 +020027 environment:
ac2550ead10512018-10-05 13:50:23 +020028 - dmaap_base_url=http://dmaapmocker:3904/
ac2550792d8022018-03-27 13:31:03 +020029 - dmaap_user=user
30 - dmaap_password=password
31 - dmaap_consumer_group=CG42
32 - dmaap_consumer_id=C42
33 - event_topic=EVENT_TOPIC
34 - notification_topic=NOTIFICATION_TOPIC
35 - request_topic=REQUEST_TOPIC
ac255007401e82018-09-10 15:32:48 +020036 - elasticsearch_hosts=elasticsearch
ac25505082fd72018-03-20 12:35:48 +010037
38 kibana:
ac2550ead10512018-10-05 13:50:23 +020039 image: onap/clamp-dashboard-kibana:latest
40 build:
41 context: ../../../src/main/docker/kibana
42 dockerfile: Dockerfile.kibana
ac25505082fd72018-03-20 12:35:48 +010043 ports:
44 - 5601:5601
45 depends_on:
46 - elasticsearch
ac25505082fd72018-03-20 12:35:48 +010047 volumes:
ac2550ead10512018-10-05 13:50:23 +020048 - ../../../src/main/docker/kibana/saved-objects/:/saved-objects/
ac25505082fd72018-03-20 12:35:48 +010049 networks:
50 es_net:
51
ac25505082fd72018-03-20 12:35:48 +010052networks:
53 es_net: