From d35cc60f42f3631c75471fe25fb3116769625e28 Mon Sep 17 00:00:00 2001 From: Cyrille <1618640+cyri113@users.noreply.github.com> Date: Thu, 4 Jan 2024 11:19:54 +0100 Subject: [PATCH] Update docker-compose.yml --- development/docker-compose.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/development/docker-compose.yml b/development/docker-compose.yml index c9c4707..17cec6c 100644 --- a/development/docker-compose.yml +++ b/development/docker-compose.yml @@ -14,14 +14,13 @@ services: image: mongo:latest container_name: mongodb-dev restart: unless-stopped - command: mongod --replSet rs0 --bind_ip_all --auth --keyFile /data/keyfile/mongodb-keyfile + command: mongo --replSet "rs0" ports: - 37017:27017 env_file: - ./.env.db volumes: - mongodb_data_container:/data/db - - /mongodb-keyfile:/data/keyfile - type: bind source: ../init-mongo.sh target: /docker-entrypoint-initdb.d/init-mongo.sh