From d4f528f6a82613e5007209ad6dc5d3683484f402 Mon Sep 17 00:00:00 2001 From: Toby Bellwood Date: Tue, 19 Sep 2023 15:41:55 +1000 Subject: [PATCH] properly fix the health check --- TESTING_dockercompose.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TESTING_dockercompose.md b/TESTING_dockercompose.md index 52781d9..88f309c 100644 --- a/TESTING_dockercompose.md +++ b/TESTING_dockercompose.md @@ -74,7 +74,7 @@ docker-compose exec -T cli bash -c "curl -kL http://nginx:8080" | grep "Drush Si docker-compose exec -T cli bash -c "curl -kL http://opensearch:9200" | grep "docker-cluster" # Should have Opensearch cluster healthy -docker-compose exec -T cli bash -c "curl -kL http://opensearch:9200/_cluster/health" | grep -v "red" +docker-compose exec -T cli bash -c "curl -kL http://opensearch:9200/_cluster/health" | json_pp | grep status | grep -v red # Should be able to db-export and db-import the database docker-compose exec -T cli bash -c "drush sql-dump --result-file /app/test.sql"