Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 authored Jan 4, 2024
1 parent 83bdf39 commit d35cc60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions development/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d35cc60

Please sign in to comment.