Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wazuh Docker 3.9.1_6.8.0 #181

Merged
merged 5 commits into from
May 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Change Log
All notable changes to this project will be documented in this file.

## Wazuh Docker v3.9.1_6.8.0

### Added

- Update to Wazuh version 3.9.1_6.8.0 ([#181](https://github.com/wazuh/wazuh-docker/pull/181))

### Fixed

- Fixed `ELASTICSEARCH_KIBANA_IP` environment variable ([@manuasir](https://github.com/manuasir)) ([#181](https://github.com/wazuh/wazuh-docker/pull/181))

## Wazuh Docker v3.9.0_6.7.2

### Changed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ In addition, a docker-compose file is provided to launch the containers mentione

* `stable` branch on correspond to the latest Wazuh-Docker stable version.
* `master` branch contains the latest code, be aware of possible bugs on this branch.
* `Wazuh.Version_ElasticStack.Version` (for example 3.9.0_6.7.2) branch. This branch contains the current release referenced in Docker Hub. The container images are installed under the current version of this branch.
* `Wazuh.Version_ElasticStack.Version` (for example 3.9.1_6.8.2) branch. This branch contains the current release referenced in Docker Hub. The container images are installed under the current version of this branch.

## Credits and Thank you

Expand Down
4 changes: 2 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
WAZUH-DOCKER_VERSION="3.9.0_6.7.2"
REVISION="3900"
WAZUH-DOCKER_VERSION="3.9.1_6.8.0"
REVISION="3901"
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '2'

services:
wazuh:
image: wazuh/wazuh:3.9.0_6.7.2
image: wazuh/wazuh:3.9.1_6.8.0
hostname: wazuh-manager
restart: always
ports:
Expand All @@ -14,7 +14,7 @@ services:
depends_on:
- logstash
logstash:
image: wazuh/wazuh-logstash:3.9.0_6.7.2
image: wazuh/wazuh-logstash:3.9.1_6.8.0
hostname: logstash
restart: always
links:
Expand All @@ -26,7 +26,7 @@ services:
environment:
- LS_HEAP_SIZE=2048m
elasticsearch:
image: wazuh/wazuh-elasticsearch:3.9.0_6.7.2
image: wazuh/wazuh-elasticsearch:3.9.1_6.8.0
hostname: elasticsearch
restart: always
ports:
Expand All @@ -43,7 +43,7 @@ services:
hard: -1
mem_limit: 2g
kibana:
image: wazuh/wazuh-kibana:3.9.0_6.7.2
image: wazuh/wazuh-kibana:3.9.1_6.8.0
hostname: kibana
restart: always
depends_on:
Expand All @@ -52,7 +52,7 @@ services:
- elasticsearch:elasticsearch
- wazuh:wazuh
nginx:
image: wazuh/wazuh-nginx:3.9.0_6.7.2
image: wazuh/wazuh-nginx:3.9.1_6.8.0
hostname: nginx
restart: always
environment:
Expand Down
8 changes: 4 additions & 4 deletions elasticsearch/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2)
FROM docker.elastic.co/elasticsearch/elasticsearch:6.7.2
FROM docker.elastic.co/elasticsearch/elasticsearch:6.8.0

ENV ELASTICSEARCH_URL="http://elasticsearch:9200"

Expand All @@ -13,7 +13,7 @@ ENV XPACK_ML="true"

ENV ENABLE_CONFIGURE_S3="false"

ENV TEMPLATE_VERSION=v3.9.0
ENV TEMPLATE_VERSION=v3.9.1

# Elasticearch cluster configuration environment variables
# If ELASTIC_CLUSTER is set to "true" the following variables will be added to the Elasticsearch configuration
Expand All @@ -29,7 +29,7 @@ ENV ELASTIC_CLUSTER="false" \
CLUSTER_MAX_NODES="1" \
CLUSTER_DELAYED_TIMEOUT="1m"

ADD https://github.com/wazuh/wazuh/$TEMPLATE_VERSION/extensions/elasticsearch/wazuh-elastic6-template-alerts.json /usr/share/elasticsearch/config
ADD https://github.com/wazuh/wazuh/$TEMPLATE_VERSION/extensions/elasticsearch/6.x/wazuh-template.json /usr/share/elasticsearch/config

COPY config/entrypoint.sh /entrypoint.sh

Expand All @@ -39,7 +39,7 @@ COPY --chown=elasticsearch:elasticsearch ./config/load_settings.sh ./

RUN chmod +x ./load_settings.sh

RUN bin/elasticsearch-plugin install --batch https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-s3/repository-s3-6.7.2.zip
RUN bin/elasticsearch-plugin install --batch https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-s3/repository-s3-6.8.0.zip

COPY config/configure_s3.sh ./config/configure_s3.sh
RUN chmod 755 ./config/configure_s3.sh
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch/config/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2)

# For more information https://github.com/elastic/elasticsearch-docker/blob/6.5.4/build/elasticsearch/bin/docker-entrypoint.sh
# For more information https://github.com/elastic/elasticsearch-docker/blob/6.8.0/build/elasticsearch/bin/docker-entrypoint.sh

set -e

Expand Down
10 changes: 5 additions & 5 deletions kibana/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2)
FROM docker.elastic.co/kibana/kibana:6.7.2
ARG WAZUH_APP_VERSION=3.9.0_6.7.2
FROM docker.elastic.co/kibana/kibana:6.8.0
ARG WAZUH_APP_VERSION=3.9.1_6.8.0
USER root

ADD https://packages.wazuh.com/wazuhapp/wazuhapp-${WAZUH_APP_VERSION}.zip /tmp
Expand All @@ -9,8 +9,8 @@ RUN NODE_OPTIONS="--max-old-space-size=3072" /usr/share/kibana/bin/kibana-plugin
chown -R kibana:kibana /usr/share/kibana &&\
rm -rf /tmp/*

COPY config/entrypoint.sh /entrypoint.sh
RUN chmod 755 /entrypoint.sh
COPY config/entrypoint.sh ./entrypoint.sh
RUN chmod 755 ./entrypoint.sh

USER kibana

Expand Down Expand Up @@ -73,4 +73,4 @@ RUN ./welcome_wazuh.sh

RUN /usr/local/bin/kibana-docker --optimize

ENTRYPOINT /entrypoint.sh
ENTRYPOINT ./entrypoint.sh
3 changes: 2 additions & 1 deletion kibana/config/kibana_settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ WAZUH_MAJOR=3
# Customize elasticsearch ip
##############################################################################
if [ "$ELASTICSEARCH_KIBANA_IP" != "" ]; then
sed -i "s/elasticsearch:9200/$ELASTICSEARCH_KIBANA_IP:9200/" /usr/share/kibana/config/kibana.yml
sed -i 's|http://elasticsearch:9200|'$ELASTICSEARCH_KIBANA_IP'|g' /usr/share/kibana/config/kibana.yml

fi

if [ "$KIBANA_IP" != "" ]; then
Expand Down
2 changes: 1 addition & 1 deletion logstash/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2)
FROM docker.elastic.co/logstash/logstash:6.7.2
FROM docker.elastic.co/logstash/logstash:6.8.0

COPY --chown=logstash:logstash config/entrypoint.sh /entrypoint.sh

Expand Down
4 changes: 2 additions & 2 deletions wazuh/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Wazuh App Copyright (C) 2019 Wazuh Inc. (License GPLv2)
FROM phusion/baseimage:latest
ARG FILEBEAT_VERSION=6.7.2
ARG WAZUH_VERSION=3.9.0-1
ARG FILEBEAT_VERSION=6.8.0
ARG WAZUH_VERSION=3.9.1-1

ENV API_USER="foo" \
API_PASS="bar"
Expand Down