mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-11-04 22:13:31 +00:00
Update docker-compose.yml
This commit is contained in:
@@ -1,36 +1,16 @@
|
||||
version: '3'
|
||||
services:
|
||||
|
||||
|
||||
elasticsearch:
|
||||
image: wazuh/wazuh-elasticsearch:3.9.3_7.1.1-opendistro
|
||||
container_name: elasticsearch
|
||||
ulimits:
|
||||
memlock:
|
||||
soft: -1
|
||||
hard: -1
|
||||
nofile:
|
||||
soft: 65536 # maximum number of open files for the Elasticsearch user, set to at least 65536 on modern systems
|
||||
hard: 65536
|
||||
volumes:
|
||||
- odfe-data1:/usr/share/elasticsearch/data
|
||||
- ./root-ca.pem:/usr/share/elasticsearch/config/root-ca.pem
|
||||
- ./node.pem:/usr/share/elasticsearch/config/node.pem
|
||||
- ./node-key.pem:/usr/share/elasticsearch/config/node-key.pem
|
||||
- ./admin.pem:/usr/share/elasticsearch/config/admin.pem
|
||||
- ./admin-key.pem:/usr/share/elasticsearch/config/admin-key.pem
|
||||
- ./custom-elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
|
||||
ports:
|
||||
- 9200:9200
|
||||
- 9600:9600 # required for Performance Analyzer
|
||||
networks:
|
||||
- odfe-net
|
||||
|
||||
|
||||
wazuh:
|
||||
image: wazuh/wazuh:3.9.3_7.1.1-opendistro
|
||||
build: wazuh
|
||||
hostname: wazuh-manager
|
||||
container_name: wazuh
|
||||
restart: always
|
||||
environment:
|
||||
- SSL_CERTIFICATE_AUTHORITIES=/etc/filebeat/CA.PEM
|
||||
- SSL_CERTIFICATE=/etc/filebeat/node.pem
|
||||
- SSL_KEY=/etc/filebeat/key.pem
|
||||
- USERNAME=usertest
|
||||
- PASSWORD=passwordtest
|
||||
ports:
|
||||
- "1514:1514/udp"
|
||||
- "1515:1515"
|
||||
@@ -39,18 +19,6 @@ services:
|
||||
networks:
|
||||
- odfe-net
|
||||
|
||||
kibana:
|
||||
image: wazuh/wazuh-kibana:3.9.3_7.1.1-opendistro
|
||||
hostname: kibana
|
||||
restart: always
|
||||
depends_on:
|
||||
- elasticsearch
|
||||
links:
|
||||
- elasticsearch:elasticsearch
|
||||
- wazuh:wazuh
|
||||
networks:
|
||||
- odfe-net
|
||||
|
||||
volumes:
|
||||
odfe-data1:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user