forked from wazuh/wazuh-docker
Added custom images
This commit is contained in:
+3
-3
@@ -3,7 +3,7 @@ version: '3.7'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
wazuh.manager:
|
wazuh.manager:
|
||||||
image: wazuh/wazuh-manager:4.3.0
|
image: wazuh/wazuh-manager:4.3.0-dev
|
||||||
hostname: wazuh.manager
|
hostname: wazuh.manager
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
@@ -30,7 +30,7 @@ services:
|
|||||||
- filebeat_var:/var/lib/filebeat
|
- filebeat_var:/var/lib/filebeat
|
||||||
|
|
||||||
wazuh1.indexer:
|
wazuh1.indexer:
|
||||||
image: wazuh/wazuh-indexer:4.3.0
|
image: wazuh/wazuh-indexer:4.3.0-dev-testing
|
||||||
hostname: wazuh1.indexer
|
hostname: wazuh1.indexer
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
@@ -46,7 +46,7 @@ services:
|
|||||||
hard: 65536
|
hard: 65536
|
||||||
|
|
||||||
wazuh.dashboard:
|
wazuh.dashboard:
|
||||||
image: wazuh/wazuh-dashboard:4.3.0
|
image: wazuh/wazuh-dashboard:4.3.0-dev-testing
|
||||||
hostname: wazuh.dashboard
|
hostname: wazuh.dashboard
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ RUN apt-get update && apt install curl libcap2-bin xz-utils -y
|
|||||||
RUN mkdir -p $INSTALL_DIR
|
RUN mkdir -p $INSTALL_DIR
|
||||||
|
|
||||||
# Download and extract Wazuh dashboard base
|
# Download and extract Wazuh dashboard base
|
||||||
RUN curl -o wazuh-dashboard-base.tar.xz https://packages.wazuh.com/stack/dashboard/base/wazuh-dashboard-base-${WAZUH_VERSION}-linux-x64.tar.xz && \
|
RUN curl -o wazuh-dashboard-base.tar.xz https://packages-dev.wazuh.com/stack/dashboard/base/wazuh-dashboard-base-${WAZUH_VERSION}-testing-linux-x64.tar.xz && \
|
||||||
tar -xf wazuh-dashboard-base.tar.xz --directory $INSTALL_DIR --strip-components=1
|
tar -xf wazuh-dashboard-base.tar.xz --directory $INSTALL_DIR --strip-components=1
|
||||||
|
|
||||||
# Generate certificates
|
# Generate certificates
|
||||||
@@ -25,7 +25,7 @@ RUN $INSTALL_DIR/bin/opensearch-dashboards-keystore create --allow-root && \
|
|||||||
echo kibanaserver | $INSTALL_DIR/bin/opensearch-dashboards-keystore add opensearch.password --stdin --allow-root
|
echo kibanaserver | $INSTALL_DIR/bin/opensearch-dashboards-keystore add opensearch.password --stdin --allow-root
|
||||||
|
|
||||||
# Install Wazuh App
|
# Install Wazuh App
|
||||||
RUN $INSTALL_DIR/bin/opensearch-dashboards-plugin install https://packages.wazuh.com/4.x/ui/dashboard/wazuh-${WAZUH_VERSION}.zip --allow-root
|
RUN $INSTALL_DIR/bin/opensearch-dashboards-plugin install https://packages-dev.wazuh.com/pre-release/ui/dashboard/wazuh-${WAZUH_VERSION}.zip --allow-root
|
||||||
|
|
||||||
# Copy and set permissions to config files
|
# Copy and set permissions to config files
|
||||||
COPY config/opensearch_dashboards.yml $INSTALL_DIR/config/
|
COPY config/opensearch_dashboards.yml $INSTALL_DIR/config/
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export INSTALLATION_DIR=/usr/share/${NAME}
|
|||||||
export CONFIG_DIR=${INSTALLATION_DIR}/config
|
export CONFIG_DIR=${INSTALLATION_DIR}/config
|
||||||
export BASE_DIR=${NAME}-*
|
export BASE_DIR=${NAME}-*
|
||||||
export INDEXER_FILE=wazuh-indexer-base.tar.xz
|
export INDEXER_FILE=wazuh-indexer-base.tar.xz
|
||||||
export BASE_FILE=wazuh-indexer-base-${VERSION}-linux-x64.tar.xz
|
export BASE_FILE=wazuh-indexer-base-${VERSION}-testing-linux-x64.tar.xz
|
||||||
export REPO_DIR=/unattended_installer
|
export REPO_DIR=/unattended_installer
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user