forked from wazuh/wazuh-docker
59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
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
|
|
hostname: wazuh-manager
|
|
restart: always
|
|
ports:
|
|
- "1514:1514/udp"
|
|
- "1515:1515"
|
|
- "514:514/udp"
|
|
- "55000:55000"
|
|
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:
|
|
|
|
networks:
|
|
odfe-net:
|