forked from wazuh/wazuh-docker
Updated docker-compose
This commit is contained in:
+28
-15
@@ -1,36 +1,49 @@
|
|||||||
# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
# Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
||||||
version: '2'
|
version: '2'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
wazuh:
|
wazuh:
|
||||||
build: wazuh
|
image: wazuh/wazuh:3.9.2_7.1.1
|
||||||
hostname: wazuh-manager
|
hostname: wazuh-manager
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- '1514:1514/udp'
|
- "1514:1514/udp"
|
||||||
- '1515:1515'
|
- "1515:1515"
|
||||||
- '514:514/udp'
|
- "514:514/udp"
|
||||||
- '55000:55000'
|
- "55000:55000"
|
||||||
|
depends_on:
|
||||||
|
- logstash
|
||||||
|
logstash:
|
||||||
|
image: wazuh/wazuh-logstash:3.9.2_7.1.1
|
||||||
|
hostname: logstash
|
||||||
|
restart: always
|
||||||
|
links:
|
||||||
|
- elasticsearch:elasticsearch
|
||||||
|
ports:
|
||||||
|
- "5000:5000"
|
||||||
|
depends_on:
|
||||||
|
- elasticsearch
|
||||||
|
environment:
|
||||||
|
- LS_HEAP_SIZE=2048m
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
build: elasticsearch
|
image: wazuh/wazuh-elasticsearch:3.9.2_7.1.1
|
||||||
hostname: elasticsearch
|
hostname: elasticsearch
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- '9200:9200'
|
- "9200:9200"
|
||||||
environment:
|
environment:
|
||||||
- node.name=node-1
|
- node.name=node-1
|
||||||
- cluster.name=wazuh
|
- cluster.name=wazuh
|
||||||
- network.host=localhost
|
- network.host=0.0.0.0
|
||||||
- discovery.type=single-node
|
|
||||||
- bootstrap.memory_lock=true
|
- bootstrap.memory_lock=true
|
||||||
- 'ES_JAVA_OPTS=-Xms1g -Xmx1g'
|
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
|
||||||
ulimits:
|
ulimits:
|
||||||
memlock:
|
memlock:
|
||||||
soft: -1
|
soft: -1
|
||||||
hard: -1
|
hard: -1
|
||||||
mem_limit: 2g
|
mem_limit: 2g
|
||||||
kibana:
|
kibana:
|
||||||
build: kibana
|
image: wazuh/wazuh-kibana:3.9.2_7.1.1
|
||||||
hostname: kibana
|
hostname: kibana
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -39,15 +52,15 @@ services:
|
|||||||
- elasticsearch:elasticsearch
|
- elasticsearch:elasticsearch
|
||||||
- wazuh:wazuh
|
- wazuh:wazuh
|
||||||
nginx:
|
nginx:
|
||||||
build: nginx
|
image: wazuh/wazuh-nginx:3.9.2_7.1.1
|
||||||
hostname: nginx
|
hostname: nginx
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- NGINX_PORT=443
|
- NGINX_PORT=443
|
||||||
- NGINX_CREDENTIALS
|
- NGINX_CREDENTIALS
|
||||||
ports:
|
ports:
|
||||||
- '80:80'
|
- "80:80"
|
||||||
- '443:443'
|
- "443:443"
|
||||||
depends_on:
|
depends_on:
|
||||||
- kibana
|
- kibana
|
||||||
links:
|
links:
|
||||||
|
|||||||
Reference in New Issue
Block a user