Skip to content

Commit 320061f

Browse files
author
Manuel J. Bernal
authored
Merge pull request #313 from wazuh/release-wazuh_3.11.4_7.6.1
Release wazuh 3.11.4 7.6.1
2 parents 4f7ae19 + 125f83e commit 320061f

8 files changed

Lines changed: 39 additions & 27 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# Change Log
22
All 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

VERSION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
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"

docker-compose.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: '2'
33

44
services:
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:

elasticsearch/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
2-
ARG ELASTIC_VERSION=7.5.2
2+
ARG ELASTIC_VERSION=7.6.1
33
FROM docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION}
44
ARG ELASTIC_VERSION
55
ARG 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

1717
ENV 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

kibana/Dockerfile

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
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
33
USER 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
66
ARG 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 /
1312
USER root
1413
COPY config/entrypoint.sh ./entrypoint.sh
1514
RUN chmod 755 ./entrypoint.sh
@@ -71,6 +70,6 @@ RUN chmod +x ./welcome_wazuh.sh
7170

7271
RUN ./welcome_wazuh.sh
7372
USER 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

7675
ENTRYPOINT ./entrypoint.sh

nginx/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ VOLUME ["/etc/nginx/conf.d"]
1616
ENV NGINX_NAME="foo" \
1717
NGINX_PWD="bar"
1818

19-
ENTRYPOINT /entrypoint.sh
19+
ENTRYPOINT [ "/entrypoint.sh" ]

nginx/config/entrypoint.sh

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff 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
4242
else
4343
echo "Kibana credentials already configured"
@@ -60,9 +60,8 @@ server {
6060
}
6161
6262
server {
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
}
7776
EOF
7877

79-
nginx -g 'daemon off;'
78+
exec nginx -g 'daemon off;'

wazuh/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Wazuh Docker Copyright (C) 2019 Wazuh Inc. (License GPLv2)
22
FROM 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

88
ENV 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.
1414
RUN set -x && echo "deb https://packages.wazuh.com/3.x/apt/ stable main" | tee /etc/apt/sources.list.d/wazuh.list && \

0 commit comments

Comments
 (0)