mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-10-23 04:51:57 +00:00
92 lines
2.3 KiB
YAML
92 lines
2.3 KiB
YAML
# Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
|
version: '2'
|
|
|
|
services:
|
|
wazuh:
|
|
image: wazuh/wazuh:3.10.2_7.3.2
|
|
hostname: wazuh-manager
|
|
restart: always
|
|
ports:
|
|
- "1514:1514/udp"
|
|
- "1515:1515"
|
|
- "514:514/udp"
|
|
- "55000:55000"
|
|
# depends_on:
|
|
# - logstash
|
|
# logstash:
|
|
# image: wazuh/wazuh-elasticsearch:3.10.2_7.3.2
|
|
# hostname: logstash
|
|
# restart: always
|
|
# links:
|
|
# - elasticsearch:elasticsearch
|
|
# ports:
|
|
# - "5000:5000"
|
|
# depends_on:
|
|
# - elasticsearch
|
|
# environment:
|
|
# - LS_HEAP_SIZE=2048m
|
|
# - SECURITY_ENABLED=no
|
|
# - SECURITY_LOGSTASH_USER=service_logstash
|
|
# - SECURITY_LOGSTASH_PASS=logstash_pass
|
|
# - LOGSTASH_OUTPUT=https://elasticsearch:9200
|
|
# - ELASTICSEARCH_URL=https://elasticsearch:9200
|
|
# - SECURITY_CA_PEM=server.TEST-CA-signed.pem
|
|
elasticsearch:
|
|
image: wazuh/wazuh-elasticsearch:3.10.2_7.3.2
|
|
hostname: elasticsearch
|
|
restart: always
|
|
ports:
|
|
- "9200:9200"
|
|
environment:
|
|
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
|
|
- ELASTICSEARCH_PROTOCOL=http
|
|
- ELASTICSEARCH_IP=elasticsearch
|
|
- ELASTICSEARCH_PORT=9200
|
|
- SECURITY_ENABLED=no
|
|
- SECURITY_ELASTIC_PASSWORD=elastic_pass
|
|
- SECURITY_MAIN_NODE=elasticsearch
|
|
- ELASTIC_CLUSTER=true
|
|
- CLUSTER_NODE_MASTER=true
|
|
- CLUSTER_MASTER_NODE_NAME=elasticsearch
|
|
- CLUSTER_NODE_DATA=true
|
|
- CLUSTER_NODE_INGEST=true
|
|
- CLUSTER_MAX_NODES=3
|
|
ulimits:
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
mem_limit: 2g
|
|
|
|
kibana:
|
|
image: wazuh/wazuh-kibana:3.10.2_7.3.2
|
|
hostname: kibana
|
|
restart: always
|
|
depends_on:
|
|
- elasticsearch
|
|
links:
|
|
- elasticsearch:elasticsearch
|
|
- wazuh:wazuh
|
|
environment:
|
|
- ELASTICSEARCH_URL=https://elasticsearch:9200
|
|
- SECURITY_ENABLED=no
|
|
- SECURITY_KIBANA_USER=service_kibana
|
|
- SECURITY_KIBANA_PASS=kibana_pass
|
|
- ELASTICSEARCH_KIBANA_IP=https://elasticsearch:9200
|
|
- SECURITY_CA_PEM=server.TEST-CA-signed.pem
|
|
ports:
|
|
- "5601:5601"
|
|
|
|
nginx:
|
|
image: wazuh/wazuh-nginx:3.10.2_7.3.2
|
|
hostname: nginx
|
|
restart: always
|
|
environment:
|
|
- NGINX_PORT=443
|
|
- NGINX_CREDENTIALS
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
depends_on:
|
|
- kibana
|
|
links:
|
|
- kibana:kibana |