1 # ===============LICENSE_START=======================================================
3 # ===================================================================================
4 # Copyright (C) 2017-2019 AT&T Intellectual Property & Tech Mahindra. All rights reserved.
5 # ===================================================================================
6 # This Acumos software file is distributed by AT&T and Tech Mahindra
7 # under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
13 # This file is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ===============LICENSE_END=========================================================
23 image: ${NEXUS3_RELEASE_REGISTRY_LF}/${ELASTICSEARCH_IMAGE}
25 - acumos-esdata:/usr/share/elasticsearch/data
27 #Node client default listens at 9200, metricbeat and logstash index data into Elasticsearch using this port.
28 - "${ACUMOS_ELK_ELASTICSEARCH_PORT}:9200"
29 #Transport client default is 9300 this port is used for nodes communication. If this port is not open, your nodes will not be able to form a cluster.
30 - "${ACUMOS_ELK_NODE_PORT}:9300"
32 ES_JAVA_OPTS: "-Xmx${ACUMOS_ELK_ES_JAVA_HEAP_MAX_SIZE} -Xms${ACUMOS_ELK_ES_JAVA_HEAP_MIN_SIZE}"
37 image: ${NEXUS3_RELEASE_REGISTRY_LF}/${LOGSTASH_IMAGE}
39 - ./logstash/pipeline:/usr/share/logstash/pipeline
41 #Logstash default listens at 5000, Filebeat agentship log to this port.
42 - "${ACUMOS_ELK_LOGSTASH_PORT}:5000"
44 LS_JAVA_OPTS: "-Xmx${ACUMOS_ELK_LS_JAVA_HEAP_MAX_SIZE} -Xms${ACUMOS_ELK_LS_JAVA_HEAP_MIN_SIZE}"
45 ACUMOS_ELK_JDBC_DRIVER_LIBRARY: "/usr/share/logstash/vendor/bundle/mariadb-java-client-2.3.0.jar"
46 ACUMOS_ELK_JDBC_DRIVER_CLASS: "org.mariadb.jdbc.Driver"
47 ACUMOS_ELK_JDBC_CONNECTION_STRING: "jdbc:mariadb://databaseurl:port/databasename"
48 ACUMOS_ELK_JDBC_USERNAME: "username"
49 ACUMOS_ELK_JDBC_PASSWORD: "password"
56 image: ${NEXUS3_RELEASE_REGISTRY_LF}/${KIBANA_IMAGE}
58 - ./kibana/config/:/usr/share/kibana/config
60 #Kiban is accessed on the web browser. Used for visualization of logs.
61 - "${ACUMOS_ELK_KIBANA_PORT}:5601"
68 image: ${NEXUS3_RELEASE_REGISTRY_LF}/${ELK_CLIENT}
70 SPRING_APPLICATION_JSON: '{
76 "url":"${ACUMOS_ELK_ELASTICSEARCH_HOST}"
79 "port":${ACUMOS_ELK_ELASTICSEARCH_PORT}
83 "time":"${ELK_CLIENT_CRONSCHEDULE_CREATESNAPSHOT_TIME}"
89 - ${ACUMOS_ELK_CLIENT_PORT}:9006
91 - acumos-logs:/maven/logs
92 - acumos-esdata:/elasticsearch/data