ac2550 | 5082fd7 | 2018-03-20 12:35:48 +0100 | [diff] [blame] | 1 | version: '3.1' |
| 2 | |
| 3 | services: |
| 4 | elasticsearch: |
ac2550 | 4ac26de | 2018-09-18 14:09:22 +0200 | [diff] [blame] | 5 | image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.1.3 |
ac2550 | 5082fd7 | 2018-03-20 12:35:48 +0100 | [diff] [blame] | 6 | ports: |
| 7 | - 9200:9200 |
| 8 | networks: |
| 9 | es_net: |
| 10 | aliases: |
| 11 | - elasticsearch |
ac2550 | 07401e8 | 2018-09-10 15:32:48 +0200 | [diff] [blame] | 12 | environment: |
| 13 | - cluster.name=docker-cluster |
| 14 | - bootstrap.memory_lock=false |
| 15 | - "ES_JAVA_OPTS=-Xms512m -Xmx512m" |
ac2550 | 5082fd7 | 2018-03-20 12:35:48 +0100 | [diff] [blame] | 16 | |
| 17 | logstash: |
ac2550 | 4ac26de | 2018-09-18 14:09:22 +0200 | [diff] [blame] | 18 | image: docker.elastic.co/logstash/logstash-oss:6.1.3 |
ac2550 | 5082fd7 | 2018-03-20 12:35:48 +0100 | [diff] [blame] | 19 | volumes: |
| 20 | - ./logstash-conf:/config-dir |
osgn422w | 67ca7eb | 2018-09-04 17:00:19 +0200 | [diff] [blame] | 21 | - ./logstash-input:/log-input |
ac2550 | 5082fd7 | 2018-03-20 12:35:48 +0100 | [diff] [blame] | 22 | command: logstash -f /config-dir/logstash.conf |
| 23 | depends_on: |
| 24 | - elasticsearch |
| 25 | networks: |
| 26 | es_net: |
ac2550 | 792d802 | 2018-03-27 13:31:03 +0200 | [diff] [blame] | 27 | environment: |
ac2550 | ead1051 | 2018-10-05 13:50:23 +0200 | [diff] [blame] | 28 | - dmaap_base_url=http://dmaapmocker:3904/ |
ac2550 | 792d802 | 2018-03-27 13:31:03 +0200 | [diff] [blame] | 29 | - 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 |
ac2550 | 07401e8 | 2018-09-10 15:32:48 +0200 | [diff] [blame] | 36 | - elasticsearch_hosts=elasticsearch |
ac2550 | 5082fd7 | 2018-03-20 12:35:48 +0100 | [diff] [blame] | 37 | |
| 38 | kibana: |
ac2550 | ead1051 | 2018-10-05 13:50:23 +0200 | [diff] [blame] | 39 | image: onap/clamp-dashboard-kibana:latest |
| 40 | build: |
| 41 | context: ../../../src/main/docker/kibana |
| 42 | dockerfile: Dockerfile.kibana |
ac2550 | 5082fd7 | 2018-03-20 12:35:48 +0100 | [diff] [blame] | 43 | ports: |
| 44 | - 5601:5601 |
| 45 | depends_on: |
| 46 | - elasticsearch |
ac2550 | 5082fd7 | 2018-03-20 12:35:48 +0100 | [diff] [blame] | 47 | volumes: |
ac2550 | ead1051 | 2018-10-05 13:50:23 +0200 | [diff] [blame] | 48 | - ../../../src/main/docker/kibana/saved-objects/:/saved-objects/ |
ac2550 | 5082fd7 | 2018-03-20 12:35:48 +0100 | [diff] [blame] | 49 | networks: |
| 50 | es_net: |
| 51 | |
ac2550 | 5082fd7 | 2018-03-20 12:35:48 +0100 | [diff] [blame] | 52 | networks: |
| 53 | es_net: |