From c787584963dc85cee42463adb18635000b0aa063 Mon Sep 17 00:00:00 2001 From: Cyrille <1618640+cyri113@users.noreply.github.com> Date: Thu, 4 Jan 2024 18:20:53 +0100 Subject: [PATCH] Update docker-compose.yml --- development/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/docker-compose.yml b/development/docker-compose.yml index c9c98ff..ea59bc4 100644 --- a/development/docker-compose.yml +++ b/development/docker-compose.yml @@ -34,7 +34,7 @@ services: # chown 999:999 /etc/mongo/replica.key healthcheck: # test: echo 'db.stats().ok' | mongosh localhost:27017/test --quiet - test: echo "try { rs.status() } catch (err) { rs.initiate() }" | mongosh --port 27017 --quiet + test: echo "try { rs.status() } catch (err) { rs.initiate() }" | mongosh localhost:27017/test --quiet interval: 60s timeout: 10s retries: 2