mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-10-24 00:23:37 +00:00
Merge pull request #35 from FloThinksPi/master
docker-compose fix SELinux and NGINX
This commit is contained in:
@@ -13,8 +13,8 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- docker_elk
|
- docker_elk
|
||||||
# volumes:
|
# volumes:
|
||||||
# - my-path:/var/ossec/data
|
# - my-path:/var/ossec/data:Z
|
||||||
# - my-path:/etc/postfix
|
# - my-path:/etc/postfix:Z
|
||||||
depends_on:
|
depends_on:
|
||||||
- elasticsearch
|
- elasticsearch
|
||||||
logstash:
|
logstash:
|
||||||
@@ -23,7 +23,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
command: -f /etc/logstash/conf.d/
|
command: -f /etc/logstash/conf.d/
|
||||||
# volumes:
|
# volumes:
|
||||||
# - my-path:/etc/logstash/conf.d
|
# - my-path:/etc/logstash/conf.d:Z
|
||||||
links:
|
links:
|
||||||
- kibana
|
- kibana
|
||||||
- elasticsearch:elasticsearch
|
- elasticsearch:elasticsearch
|
||||||
@@ -60,7 +60,7 @@ services:
|
|||||||
hard: -1
|
hard: -1
|
||||||
mem_limit: 2g
|
mem_limit: 2g
|
||||||
# volumes:
|
# volumes:
|
||||||
# - my-path:/usr/share/elasticsearch/data
|
# - my-path:/usr/share/elasticsearch/data:Z
|
||||||
networks:
|
networks:
|
||||||
- docker_elk
|
- docker_elk
|
||||||
kibana:
|
kibana:
|
||||||
@@ -78,6 +78,8 @@ services:
|
|||||||
- wazuh
|
- wazuh
|
||||||
entrypoint: /wait-for-it.sh elasticsearch
|
entrypoint: /wait-for-it.sh elasticsearch
|
||||||
# environment:
|
# environment:
|
||||||
|
# - http_proxy=yourproxy
|
||||||
|
# - https_proxy=yourproxy
|
||||||
# - "WAZUH_KIBANA_PLUGIN_URL=http://your.repo/wazuhapp-3.1.0-6.1.2.zip"
|
# - "WAZUH_KIBANA_PLUGIN_URL=http://your.repo/wazuhapp-3.1.0-6.1.2.zip"
|
||||||
nginx:
|
nginx:
|
||||||
image: wazuh/wazuh-nginx
|
image: wazuh/wazuh-nginx
|
||||||
@@ -89,6 +91,8 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
# volumes:
|
||||||
|
# - my-path:/etc/nginx/conf.d:Z
|
||||||
networks:
|
networks:
|
||||||
- docker_elk
|
- docker_elk
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user