Added more fixes to configuration files

This commit is contained in:
Manuel J. Bernal
2019-07-19 23:03:11 +02:00
parent 5db7509b52
commit 9740ddcf3e
3 changed files with 41 additions and 15 deletions
+16 -5
View File
@@ -12,22 +12,33 @@ services:
- "514:514/udp"
- "55000:55000"
elasticsearch:
image: wazuh/wazuh-elasticsearch:3.9.2_7.1.1
build: elasticsearch
hostname: elasticsearch
restart: always
ports:
- "9200:9200"
environment:
- node.name=node-1
- cluster.name=wazuh
- network.host=0.0.0.0
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
- ELASTIC_CLUSTER=true
- CLUSTER_NODE_MASTER=true
- CLUSTER_MASTER_NODE_NAME=es01
es02:
build: elasticsearch
hostname: es02
restart: always
environment:
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
- ELASTIC_CLUSTER=true
- CLUSTER_MASTER_NODE_NAME=elasticsearch
- CLUSTER_NODE_NAME=es02
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 2g
kibana:
image: wazuh/wazuh-kibana:3.9.2_7.1.1
hostname: kibana