Compare commits

...
Author SHA1 Message Date
vcerenu e20e92e475 Add Changelog 2024-12-02 10:42:58 -03:00
vcerenu 61c32079fa Add Changelog 2024-12-02 10:40:05 -03:00
vcerenu 5be199b9df Delete service tag and modifiy docker-compose execution for a new version 2024-12-02 10:30:09 -03:00
9 changed files with 16 additions and 42 deletions
@@ -116,12 +116,6 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }} password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Install Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
echo "Installed Docker Compose version: $(docker-compose --version)"
- name: Build Wazuh images - name: Build Wazuh images
run: | run: |
IMAGE_TAG=${{ inputs.image_tag }} IMAGE_TAG=${{ inputs.image_tag }}
+4 -19
View File
@@ -10,11 +10,6 @@ jobs:
- name: Check out code - name: Check out code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install docker-compose
run: |
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
- name: Build Wazuh images - name: Build Wazuh images
run: build-docker-images/build-images.sh run: build-docker-images/build-images.sh
@@ -76,11 +71,6 @@ jobs:
- name: Check out code - name: Check out code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install docker-compose
run: |
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
- name: Create enviroment variables - name: Create enviroment variables
run: cat .env > $GITHUB_ENV run: cat .env > $GITHUB_ENV
@@ -114,10 +104,10 @@ jobs:
- name: Create single node certficates - name: Create single node certficates
run: docker-compose -f single-node/generate-certs.yml run --rm generator run: docker compose -f single-node/generate-certs.yml run --rm generator
- name: Start single node stack - name: Start single node stack
run: docker-compose -f single-node/docker-compose.yml up -d run: docker compose -f single-node/docker-compose.yml up -d
- name: Check Wazuh indexer start - name: Check Wazuh indexer start
run: | run: |
@@ -211,11 +201,6 @@ jobs:
- name: Check out code - name: Check out code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install docker-compose
run: |
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
- name: Create enviroment variables - name: Create enviroment variables
run: cat .env > $GITHUB_ENV run: cat .env > $GITHUB_ENV
@@ -256,10 +241,10 @@ jobs:
rm -rf wazuh-manager.tar wazuh-indexer.tar wazuh-dashboard.tar wazuh-cert-tool.tar rm -rf wazuh-manager.tar wazuh-indexer.tar wazuh-dashboard.tar wazuh-cert-tool.tar
- name: Create multi node certficates - name: Create multi node certficates
run: docker-compose -f multi-node/generate-certs.yml run --rm generator run: docker compose -f multi-node/generate-certs.yml run --rm generator
- name: Start multi node stack - name: Start multi node stack
run: docker-compose -f multi-node/docker-compose.yml up -d run: docker compose -f multi-node/docker-compose.yml up -d
- name: Check Wazuh indexer start - name: Check Wazuh indexer start
run: | run: |
+2 -1
View File
@@ -9,7 +9,8 @@ All notable changes to this project will be documented in this file.
### Changed ### Changed
- None - Delete service tag and modifiy docker-compose execution for a new version ([#1632](https://github.com/wazuh/wazuh-docker/pull/1632))
- Remove deprecated attribute version in docker-compose.yml ([#1595](https://github.com/wazuh/wazuh-docker/pull/1595)) by https://github.com/h3ssan
### Fixed ### Fixed
+1 -1
View File
@@ -70,7 +70,7 @@ build() {
echo WAZUH_FILEBEAT_MODULE=$WAZUH_FILEBEAT_MODULE >> .env echo WAZUH_FILEBEAT_MODULE=$WAZUH_FILEBEAT_MODULE >> .env
echo WAZUH_UI_REVISION=$WAZUH_UI_REVISION >> .env echo WAZUH_UI_REVISION=$WAZUH_UI_REVISION >> .env
docker-compose -f build-docker-images/build-images.yml --env-file .env build --no-cache docker compose -f build-docker-images/build-images.yml --env-file .env build --no-cache
docker build -t wazuh/wazuh-cert-tool:$WAZUH_IMAGE_VERSION build-docker-images/cert-tool-image/ docker build -t wazuh/wazuh-cert-tool:$WAZUH_IMAGE_VERSION build-docker-images/cert-tool-image/
return 0 return 0
-2
View File
@@ -1,6 +1,4 @@
# Wazuh App Copyright (C) 2017, Wazuh Inc. (License GPLv2) # Wazuh App Copyright (C) 2017, Wazuh Inc. (License GPLv2)
version: '3.7'
services: services:
wazuh.manager: wazuh.manager:
build: build:
+5 -5
View File
@@ -1,6 +1,6 @@
# Deploy Wazuh Docker in multi node configuration # Deploy Wazuh Docker in multi node configuration
This deployment is defined in the `docker-compose.yml` file with two Wazuh manager containers, three Wazuh indexer containers, and one Wazuh dashboard container. It can be deployed by following these steps: This deployment is defined in the `docker-compose.yml` file with two Wazuh manager containers, three Wazuh indexer containers, and one Wazuh dashboard container. It can be deployed by following these steps:
1) Increase max_map_count on your host (Linux). This command must be run with root permissions: 1) Increase max_map_count on your host (Linux). This command must be run with root permissions:
``` ```
@@ -8,18 +8,18 @@ $ sysctl -w vm.max_map_count=262144
``` ```
2) Run the certificate creation script: 2) Run the certificate creation script:
``` ```
$ docker-compose -f generate-certs.yml run --rm generator $ docker compose -f generate-certs.yml run --rm generator
``` ```
3) Start the environment with docker-compose: 3) Start the environment with docker compose:
- In the foregroud: - In the foregroud:
``` ```
$ docker-compose up $ docker compose up
``` ```
- In the background: - In the background:
``` ```
$ docker-compose up -d $ docker compose up -d
``` ```
-2
View File
@@ -1,6 +1,4 @@
# Wazuh App Copyright (C) 2017, Wazuh Inc. (License GPLv2) # Wazuh App Copyright (C) 2017, Wazuh Inc. (License GPLv2)
version: '3'
services: services:
generator: generator:
image: wazuh/wazuh-cert-tool:5.0.0 image: wazuh/wazuh-cert-tool:5.0.0
+4 -4
View File
@@ -8,17 +8,17 @@ $ sysctl -w vm.max_map_count=262144
``` ```
2) Run the certificate creation script: 2) Run the certificate creation script:
``` ```
$ docker-compose -f generate-certs.yml run --rm generator $ docker compose -f generate-certs.yml run --rm generator
``` ```
3) Start the environment with docker-compose: 3) Start the environment with docker compose:
- In the foregroud: - In the foregroud:
``` ```
$ docker-compose up $ docker compose up
``` ```
- In the background: - In the background:
``` ```
$ docker-compose up -d $ docker compose up -d
``` ```
The environment takes about 1 minute to get up (depending on your Docker host) for the first time since Wazuh Indexer must be started for the first time and the indexes and index patterns must be generated. The environment takes about 1 minute to get up (depending on your Docker host) for the first time since Wazuh Indexer must be started for the first time and the indexes and index patterns must be generated.
-2
View File
@@ -1,6 +1,4 @@
# Wazuh App Copyright (C) 2017, Wazuh Inc. (License GPLv2) # Wazuh App Copyright (C) 2017, Wazuh Inc. (License GPLv2)
version: '3'
services: services:
generator: generator:
image: wazuh/wazuh-cert-tool:5.0.0 image: wazuh/wazuh-cert-tool:5.0.0