Added custom images

This commit is contained in:
Raul Del Pozo Moreno
2022-03-24 19:26:29 +01:00
parent 2a9a9dce52
commit b91c1602a6
3 changed files with 6 additions and 6 deletions

View File

@@ -3,7 +3,7 @@ version: '3.7'
services:
wazuh.manager:
image: wazuh/wazuh-manager:4.3.0
image: wazuh/wazuh-manager:4.3.0-dev
hostname: wazuh.manager
restart: always
ports:
@@ -30,7 +30,7 @@ services:
- filebeat_var:/var/lib/filebeat
wazuh1.indexer:
image: wazuh/wazuh-indexer:4.3.0
image: wazuh/wazuh-indexer:4.3.0-dev-testing
hostname: wazuh1.indexer
restart: always
ports:
@@ -46,7 +46,7 @@ services:
hard: 65536
wazuh.dashboard:
image: wazuh/wazuh-dashboard:4.3.0
image: wazuh/wazuh-dashboard:4.3.0-dev-testing
hostname: wazuh.dashboard
restart: always
ports:

View File

@@ -11,7 +11,7 @@ RUN apt-get update && apt install curl libcap2-bin xz-utils -y
RUN mkdir -p $INSTALL_DIR
# 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
# 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
# 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 config/opensearch_dashboards.yml $INSTALL_DIR/config/

View File

@@ -16,7 +16,7 @@ export INSTALLATION_DIR=/usr/share/${NAME}
export CONFIG_DIR=${INSTALLATION_DIR}/config
export BASE_DIR=${NAME}-*
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