mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-11-02 13:03:23 +00:00
55 lines
1.1 KiB
YAML
55 lines
1.1 KiB
YAML
# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
|
|
version: '2'
|
|
|
|
services:
|
|
wazuh:
|
|
build: wazuh
|
|
hostname: wazuh-manager
|
|
restart: always
|
|
ports:
|
|
- '1514:1514/udp'
|
|
- '1515:1515'
|
|
- '514:514/udp'
|
|
- '55000:55000'
|
|
elasticsearch:
|
|
build: elasticsearch
|
|
hostname: elasticsearch
|
|
restart: always
|
|
ports:
|
|
- '9200:9200'
|
|
environment:
|
|
- node.name=node-1
|
|
- cluster.name=wazuh
|
|
- network.host=localhost
|
|
- discovery.type=single-node
|
|
- bootstrap.memory_lock=true
|
|
- 'ES_JAVA_OPTS=-Xms1g -Xmx1g'
|
|
ulimits:
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
mem_limit: 2g
|
|
kibana:
|
|
build: kibana
|
|
hostname: kibana
|
|
restart: always
|
|
depends_on:
|
|
- elasticsearch
|
|
links:
|
|
- elasticsearch:elasticsearch
|
|
- wazuh:wazuh
|
|
nginx:
|
|
build: nginx
|
|
hostname: nginx
|
|
restart: always
|
|
environment:
|
|
- NGINX_PORT=443
|
|
- NGINX_CREDENTIALS
|
|
ports:
|
|
- '80:80'
|
|
- '443:443'
|
|
depends_on:
|
|
- kibana
|
|
links:
|
|
- kibana:kibana
|