blob: 109a036b9fcf04c6e2af1d14b2c58a1d3de24811 [file] [log] [blame]
ac25505a23e6a2018-10-11 09:27:15 +02001version: '2'
2
3services:
4 db:
5 image: mariadb:10.1.11
6 volumes:
7 - "/var/lib/mysql"
8 - "../mariadb/conf1:/etc/mysql/conf.d:ro"
9 - "../../sql/:/docker-entrypoint-initdb.d:ro"
10 environment:
11 - MYSQL_ROOT_PASSWORD=strong_pitchou
12 ports:
13 - "3306:3306"
14 networks:
15 clamp_net:
16
17 clamp:
18 image: onap/clamp:latest
19 volumes:
20 - "./config/:/opt/clamp/config:rw"
21 depends_on:
22 - db
23 env_file:
24 - clamp.env
25 ports:
26 - "8080:8080"
27 - "8443:8443"
28 networks:
29 clamp_net:
30
31 elasticsearch:
32 image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.1.3
33 ports:
34 - 9200:9200
35 networks:
36 cldash_net:
37 aliases:
38 - elasticsearch
39 environment:
40 - cluster.name=docker-cluster
41 - bootstrap.memory_lock=false
42 - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
43
44 logstash:
45 image: onap/clamp-dashboard-logstash:latest
46 build:
47 context: ../../../src/main/docker/logstash
48 dockerfile: Dockerfile.logstash
49 # volumes:
50 # - ../../../src/main/docker/logstash/pipeline:/usr/share/logstash/pipeline
51 # - ./logstash-input:/log-input
52 depends_on:
53 - elasticsearch
54 networks:
55 cldash_net:
56 environment:
57 - elasticsearch_host=https://elasticsearch:9200/
58 - dmaap_base_url=https://ueb.api.simpledemo.onap.org:3905/
59 # - dmaap_user=user
60 # - dmaap_password=password
61 - dmaap_consumer_group=clampdashboard
62 - dmaap_consumer_id=clampdashboard
63 - event_topic=DCAE-CL-EVENT
64 - notification_topic=POLICY-CL-MGT
65 - request_topic=APPC-CL
66 - elasticsearch_base_url=elasticsearch
67
68 kibana:
69 image: onap/clamp-dashboard-kibana:latest
70 build:
71 context: ../../../src/main/docker/kibana
72 dockerfile: Dockerfile.kibana
73 ports:
74 - 5601:5601
75 depends_on:
76 - elasticsearch
77 # volumes:
78 # - ../../../src/main/docker/kibana/saved-objects/:/saved-objects/
79 networks:
80 cldash_net:
81
82networks:
83 cldash_net:
84 clamp_net: