Fix Wazuh manager healthcheck

This commit is contained in:
Victor Carlos Erenu
2026-03-26 19:47:38 +07:00
parent 523fbd1ac3
commit a8e5e46352
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ services:
wazuh1.indexer:
condition: service_healthy
healthcheck:
test: [ "CMD-SHELL", "curl -s -k -f -I -u $$API_USERNAME:$$API_PASSWORD https://localhost:55000/security/user/authenticate > /dev/null || exit 1" ]
test: [ "CMD-SHELL", "curl -u $$API_USERNAME:$$API_PASSWORD -k -s -X POST https://localhost:55000/security/user/authenticate?raw=true >> /dev/null || exit 1" ]
interval: 15s
timeout: 5s
retries: 5