forked from wazuh/wazuh-docker
Automatically set SELinux
Fixes SELinux issues. Docker-Compose can do this on the fly https://github.com/docker/compose/issues/643
This commit is contained in:
+4
-4
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user