mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-11-09 16:37:17 +00:00
Compare commits
3 Commits
2.0.1_5.5.
...
2.1.0_5.5.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d1cb67a822 | ||
|
|
e69d9d0efc | ||
|
|
08824ad4a9 |
@@ -26,7 +26,7 @@ services:
|
|||||||
# - my-path:/etc/logstash/conf.d
|
# - my-path:/etc/logstash/conf.d
|
||||||
links:
|
links:
|
||||||
- kibana
|
- kibana
|
||||||
- elasticsearch
|
- elasticsearch:elasticsearch
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
networks:
|
networks:
|
||||||
@@ -59,9 +59,11 @@ services:
|
|||||||
- docker_elk
|
- docker_elk
|
||||||
depends_on:
|
depends_on:
|
||||||
- elasticsearch
|
- elasticsearch
|
||||||
|
links:
|
||||||
|
- elasticsearch:elasticsearch
|
||||||
entrypoint: sh wait-for-it.sh elasticsearch
|
entrypoint: sh wait-for-it.sh elasticsearch
|
||||||
# environment:
|
# environment:
|
||||||
# - "WAZUH_KIBANA_PLUGIN_URL=http://your.repo/wazuhapp-2.0_5.4.2.zip"
|
# - "WAZUH_KIBANA_PLUGIN_URL=http://your.repo/wazuhapp-2.1.0-5.5.1.zip"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
docker_elk:
|
docker_elk:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ set -e
|
|||||||
host="$1"
|
host="$1"
|
||||||
shift
|
shift
|
||||||
cmd="kibana"
|
cmd="kibana"
|
||||||
WAZUH_KIBANA_PLUGIN_URL=${WAZUH_KIBANA_PLUGIN_URL:-https://packages.wazuh.com/wazuhapp/wazuhapp-2.0.1_5.5.1.zip}
|
WAZUH_KIBANA_PLUGIN_URL=${WAZUH_KIBANA_PLUGIN_URL:-https://packages.wazuh.com/wazuhapp/wazuhapp-2.1.0_5.5.1.zip}
|
||||||
|
|
||||||
until curl -XGET $host:9200; do
|
until curl -XGET $host:9200; do
|
||||||
>&2 echo "Elastic is unavailable - sleeping"
|
>&2 echo "Elastic is unavailable - sleeping"
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ RUN yum -y install epel-release openssl useradd; yum clean all
|
|||||||
RUN yum -y install postfix mailx cyrus-sasl cyrus-sasl-plain; yum clean all
|
RUN yum -y install postfix mailx cyrus-sasl cyrus-sasl-plain; yum clean all
|
||||||
RUN groupadd -g 1000 ossec
|
RUN groupadd -g 1000 ossec
|
||||||
RUN useradd -u 1000 -g 1000 ossec
|
RUN useradd -u 1000 -g 1000 ossec
|
||||||
|
RUN curl --silent --location https://rpm.nodesource.com/setup_6.x | bash - &&\
|
||||||
|
yum install -y nodejs
|
||||||
RUN yum install -y wazuh-manager wazuh-api
|
RUN yum install -y wazuh-manager wazuh-api
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user