File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Change Log
22All notable changes to this project will be documented in this file.
33
4+ ## Wazuh Docker v3.11.4_7.6.1
5+
6+ ### Added
7+
8+ - Update to Wazuh version 3.11.4_7.6.1
9+
10+ - Enable HTTP v2 on nginx ([ @xr09 ] ( https://github.com/xr09 ) ) [ #308 ] ( https://github.com/wazuh/wazuh-docker/pull/308 )
11+
12+ ### Fixed
13+
14+ - Updated NGINX config syntax ([ @xr09 ] ( https://github.com/xr09 ) ) [ #303 ] ( https://github.com/wazuh/wazuh-docker/pull/303 )
15+
16+
417## Wazuh Docker v3.11.3_7.5.2
518
619### Added
Original file line number Diff line number Diff line change 1- WAZUH-DOCKER_VERSION="3.11.3_7.5.2 "
2- REVISION="31130 "
1+ WAZUH-DOCKER_VERSION="3.11.4_7.6.1 "
2+ REVISION="31140 "
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ version: '2'
33
44services :
55 wazuh :
6- image : wazuh/wazuh:3.11.3_7.5.2
6+ image : wazuh/wazuh:3.11.4_7.6.1
77 hostname : wazuh-manager
88 restart : always
99 ports :
@@ -13,7 +13,7 @@ services:
1313 - " 55000:55000"
1414
1515 elasticsearch :
16- image : wazuh/wazuh-elasticsearch:3.11.3_7.5.2
16+ image : wazuh/wazuh-elasticsearch:3.11.4_7.6.1
1717 hostname : elasticsearch
1818 restart : always
1919 ports :
@@ -30,16 +30,17 @@ services:
3030 mem_limit : 2g
3131
3232 kibana :
33- image : wazuh/wazuh-kibana:3.11.3_7.5.2
33+ image : wazuh/wazuh-kibana:3.11.4_7.6.1
3434 hostname : kibana
3535 restart : always
3636 depends_on :
3737 - elasticsearch
3838 links :
3939 - elasticsearch:elasticsearch
4040 - wazuh:wazuh
41+
4142 nginx :
42- image : wazuh/wazuh-nginx:3.11.3_7.5.2
43+ image : wazuh/wazuh-nginx:3.11.4_7.6.1
4344 hostname : nginx
4445 restart : always
4546 environment :
Original file line number Diff line number Diff line change 11# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
2- ARG ELASTIC_VERSION=7.5.2
2+ ARG ELASTIC_VERSION=7.6.1
33FROM docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION}
44ARG ELASTIC_VERSION
55ARG S3_PLUGIN_URL="https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-s3/repository-s3-${ELASTIC_VERSION}.zip"
@@ -16,7 +16,7 @@ ENV XPACK_ML="true"
1616
1717ENV ENABLE_CONFIGURE_S3="false"
1818
19- ARG TEMPLATE_VERSION=v3.11.3
19+ ARG TEMPLATE_VERSION=v3.11.4
2020
2121# Elasticearch cluster configuration environment variables
2222# If ELASTIC_CLUSTER is set to "true" the following variables will be added to the Elasticsearch configuration
Original file line number Diff line number Diff line change 11# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
2- FROM docker.elastic.co/kibana/kibana:7.5.2
2+ FROM docker.elastic.co/kibana/kibana:7.6.1
33USER kibana
4- ARG ELASTIC_VERSION=7.5.2
5- ARG WAZUH_VERSION=3.11.3
4+ ARG ELASTIC_VERSION=7.6.1
5+ ARG WAZUH_VERSION=3.11.4
66ARG WAZUH_APP_VERSION="${WAZUH_VERSION}_${ELASTIC_VERSION}"
77
8- # ADD https://packages.wazuh.com/wazuhapp/wazuhapp-${WAZUH_APP_VERSION}.zip /usr/share/kibana/
9-
10- RUN /usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-${WAZUH_APP_VERSION}.zip
11- # RUN rm -rf /tmp/wazuhapp-${WAZUH_APP_VERSION}.zip
8+ WORKDIR /usr/share/kibana
9+ RUN ./bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-${WAZUH_APP_VERSION}.zip
1210
11+ WORKDIR /
1312USER root
1413COPY config/entrypoint.sh ./entrypoint.sh
1514RUN chmod 755 ./entrypoint.sh
@@ -71,6 +70,6 @@ RUN chmod +x ./welcome_wazuh.sh
7170
7271RUN ./welcome_wazuh.sh
7372USER kibana
74- RUN /usr/local/bin/kibana-docker --optimize
73+ RUN NODE_OPTIONS= "--max-old-space-size=2048" /usr/local/bin/kibana-docker --optimize
7574
7675ENTRYPOINT ./entrypoint.sh
Original file line number Diff line number Diff line change @@ -16,4 +16,4 @@ VOLUME ["/etc/nginx/conf.d"]
1616ENV NGINX_NAME="foo" \
1717 NGINX_PWD="bar"
1818
19- ENTRYPOINT /entrypoint.sh
19+ ENTRYPOINT [ " /entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -30,14 +30,14 @@ if [ ! -f /etc/nginx/conf.d/kibana.htpasswd ]; then
3030 do
3131 IFS=' :' read -r -a credentials <<< " ${users[index]}"
3232 if [ $index -eq 0 ]; then
33- echo ${credentials[1]} | htpasswd -i -c /etc/nginx/conf.d/kibana.htpasswd ${credentials[0]} > /dev/null
33+ htpasswd -b -c /etc/nginx/conf.d/kibana.htpasswd ${credentials[0]} ${credentials[1 ]} > /dev/null
3434 else
35- echo ${credentials[1]} | htpasswd -i /etc/nginx/conf.d/kibana.htpasswd ${credentials[0]} > /dev/null
35+ htpasswd -b /etc/nginx/conf.d/kibana.htpasswd ${credentials[0]} ${credentials[1 ]} > /dev/null
3636 fi
3737 done
3838 else
3939 # NGINX_PWD and NGINX_NAME are declared in nginx/Dockerfile
40- echo $NGINX_PWD | htpasswd -i -c /etc/nginx/conf.d/kibana.htpasswd $NGINX_NAME > /dev/null
40+ htpasswd -b -c /etc/nginx/conf.d/kibana.htpasswd $NGINX_NAME $NGINX_PWD > /dev/null
4141 fi
4242else
4343 echo " Kibana credentials already configured"
@@ -60,9 +60,8 @@ server {
6060}
6161
6262server {
63- listen ${NGINX_PORT} default_server;
64- listen [::]:${NGINX_PORT} ;
65- ssl on;
63+ listen ${NGINX_PORT} default_server ssl http2;
64+ listen [::]:${NGINX_PORT} ssl http2;
6665 ssl_certificate /etc/nginx/conf.d/ssl/certs/kibana-access.pem;
6766 ssl_certificate_key /etc/nginx/conf.d/ssl/private/kibana-access.key;
6867 location / {
@@ -76,4 +75,4 @@ server {
7675}
7776EOF
7877
79- nginx -g ' daemon off;'
78+ exec nginx -g ' daemon off;'
Original file line number Diff line number Diff line change 11# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
22FROM phusion/baseimage:latest
33
4- ARG FILEBEAT_VERSION=7.5.2
4+ ARG FILEBEAT_VERSION=7.6.1
55
6- ARG WAZUH_VERSION=3.11.3 -1
6+ ARG WAZUH_VERSION=3.11.4 -1
77
88ENV API_USER="foo" \
99 API_PASS="bar"
1010
11- ARG TEMPLATE_VERSION="v3.11.3 "
11+ ARG TEMPLATE_VERSION="v3.11.4 "
1212
1313# Set repositories.
1414RUN set -x && echo "deb https://packages.wazuh.com/3.x/apt/ stable main" | tee /etc/apt/sources.list.d/wazuh.list && \
You can’t perform that action at this time.
0 commit comments