Skip to content

Commit 19892ae

Browse files
authored
[docker] Wait for Elasticsearch health before starting openbas service (#58)
1 parent 5351aae commit 19892ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ services:
132132
rabbitmq:
133133
condition: service_healthy
134134
elasticsearch:
135-
condition: service_started
135+
condition: service_healthy
136136
restart: always
137137
healthcheck:
138138
test: [ "CMD", "wget", "-qO-", "http://openbas:8080/api/health?health_access_key=${OPENBAS_HEALTHCHECK_KEY}" ]

0 commit comments

Comments
 (0)