From 1346a104771af73fd66441dd87b903c56a66e539 Mon Sep 17 00:00:00 2001 From: Victor Carlos Erenu Date: Tue, 17 Mar 2026 01:41:56 +0700 Subject: [PATCH] Delete docker unused volumes and change user and password for healthcheck --- multi-node/docker-compose.yml | 8 +++----- single-node/docker-compose.yml | 3 +-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/multi-node/docker-compose.yml b/multi-node/docker-compose.yml index 257d9a1a..6d14c958 100644 --- a/multi-node/docker-compose.yml +++ b/multi-node/docker-compose.yml @@ -110,7 +110,7 @@ services: soft: 65536 hard: 65536 healthcheck: - test: [ "CMD-SHELL", "curl -s -k -u $$INDEXER_USERNAME:$$INDEXER_PASSWORD https://localhost:9200/_cluster/health" ] + test: [ "CMD-SHELL", "curl -s -k -u test:test https://localhost:9200/_cluster/health" ] interval: 10s timeout: 5s retries: 10 @@ -150,7 +150,7 @@ services: soft: 65536 hard: 65536 healthcheck: - test: [ "CMD-SHELL", "curl -s -k -u $$INDEXER_USERNAME:$$INDEXER_PASSWORD https://localhost:9200/_cluster/health" ] + test: [ "CMD-SHELL", "curl -s -k -u test:test https://localhost:9200/_cluster/health" ] interval: 10s timeout: 5s retries: 10 @@ -188,7 +188,7 @@ services: soft: 65536 hard: 65536 healthcheck: - test: [ "CMD-SHELL", "curl -s -k -u $$INDEXER_USERNAME:$$INDEXER_PASSWORD https://localhost:9200/_cluster/health" ] + test: [ "CMD-SHELL", "curl -s -k -u test:test https://localhost:9200/_cluster/health" ] interval: 10s timeout: 5s retries: 10 @@ -258,13 +258,11 @@ volumes: master-wazuh-logs: master-wazuh-queue: master-wazuh-var-multigroups: - master-wazuh-active-response: worker-wazuh-api-configuration: worker-wazuh-etc: worker-wazuh-logs: worker-wazuh-queue: worker-wazuh-var-multigroups: - worker-wazuh-active-response: wazuh-indexer-data-1: wazuh-indexer-data-2: wazuh-indexer-data-3: diff --git a/single-node/docker-compose.yml b/single-node/docker-compose.yml index 9dfb76c4..e4b90752 100644 --- a/single-node/docker-compose.yml +++ b/single-node/docker-compose.yml @@ -68,7 +68,7 @@ services: soft: 65536 hard: 65536 healthcheck: - test: [ "CMD-SHELL", "curl -s -k -u $$INDEXER_USERNAME:$$INDEXER_PASSWORD https://localhost:9200/_cluster/health" ] + test: [ "CMD-SHELL", "curl -s -k -u test:test https://localhost:9200/_cluster/health" ] interval: 10s timeout: 5s retries: 10 @@ -126,7 +126,6 @@ volumes: wazuh_logs: wazuh_queue: wazuh_var_multigroups: - wazuh_active_response: wazuh-indexer-data: wazuh-dashboard-config: wazuh-dashboard-custom: