Skip to content

Commit

Permalink
fix: add kibana in docker-compose.yml used for agentbeat integration …
Browse files Browse the repository at this point in the history
…tests
  • Loading branch information
pkoutsovasilis committed Aug 28, 2024
1 parent a5637f7 commit 8114154
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions x-pack/agentbeat/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ services:
image: busybox
depends_on:
elasticsearch: { condition: service_healthy }
kibana: { condition: service_healthy }
cometd: { condition: service_healthy }

elasticsearch:
Expand All @@ -24,3 +25,11 @@ services:
hostname: cometd
ports:
- 8080:8080

kibana:
extends:
file: ${ES_BEATS}/testing/environments/${STACK_ENVIRONMENT}.yml
service: kibana
healthcheck:
test: [ "CMD-SHELL", "curl -u beats:testing -s http://localhost:5601/api/status?v8format=true | grep -q '\"overall\":{\"level\":\"available\"'" ]
retries: 600

0 comments on commit 8114154

Please sign in to comment.