From 09e8c922a326ad441c1d96625f862083be017de5 Mon Sep 17 00:00:00 2001 From: Cyrille <1618640+cyri113@users.noreply.github.com> Date: Thu, 4 Jan 2024 17:41:28 +0100 Subject: [PATCH] Update docker-compose.yml --- development/docker-compose.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/development/docker-compose.yml b/development/docker-compose.yml index 0000cba..df614ec 100644 --- a/development/docker-compose.yml +++ b/development/docker-compose.yml @@ -27,12 +27,12 @@ services: source: ../init-mongo.sh target: /docker-entrypoint-initdb.d/init-mongo.sh read_only: true - entrypoint: - - bash - - -c - - | - chmod 400 /etc/mongo/replica.key - chown 999:999 /etc/mongo/replica.key + # entrypoint: + # - bash + # - -c + # - | + # chmod 400 /etc/mongo/replica.key + # chown 999:999 /etc/mongo/replica.key healthcheck: test: echo 'db.stats().ok' | mongosh localhost:27017/test --quiet # test: test $$(echo "rs.initiate().ok || rs.status().ok") | mongosh localhost:27017/test --quiet