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 4b697ea commit 64eba52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion development/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ services:
image: mongo:latest
container_name: mongodb-dev
restart: unless-stopped
command: mongod --replSet "rs0"
command: mongod --bind_ip_all --replSet dbrs --keyFile /data/replica.key
ports:
- 37017:27017
env_file:
- ./.env.db
volumes:
- mongo/replica.key:/data/replica.key
- mongodb_data_container:/data/db
- type: bind
source: ../init-mongo.sh
Expand Down

0 comments on commit 64eba52

Please sign in to comment.