From 65aac34f31a448f735d4aa4c063ca37dedd2197f Mon Sep 17 00:00:00 2001 From: Toby Bellwood Date: Thu, 2 Nov 2023 16:17:58 +1100 Subject: [PATCH] improve elasticsearch test --- TESTING_dockercompose.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/TESTING_dockercompose.md b/TESTING_dockercompose.md index b44fd5b..f0d8007 100644 --- a/TESTING_dockercompose.md +++ b/TESTING_dockercompose.md @@ -17,8 +17,9 @@ docker compose down # Should start up our Lagoon Drupal site successfully docker compose build && docker compose up -d -# Ensure mariadb pod is ready to connect -docker run --rm --net drupal-elasticsearch-default amazeeio/dockerize dockerize -wait tcp://mariadb:3306 -timeout 1m +# Ensure mariadb and elasticsearch pods are ready to connect +docker run --rm --net drupal-elasticsearch_default amazeeio/dockerize dockerize -wait tcp://mariadb:3306 -timeout 1m +docker run --rm --net drupal-elasticsearch_default amazeeio/dockerize dockerize -wait tcp://elasticsearch:9200 -timeout 1m ``` Verification commands