Skip to content

Commit

Permalink
fix(config): IMPORTANT!docker-compose mongo db volume config error;
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed Aug 21, 2021
1 parent 1de62b4 commit 2538d65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- MONGODB_INITIAL_PRIMARY_HOST=mongo
- MONGODB_REPLICA_SET_NAME=rs0
volumes:
- db-data:/data/db
- db-data:/bitnami/mongodb
ports:
- "27018:27017"

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- MONGODB_INITIAL_PRIMARY_HOST=mongo
- MONGODB_REPLICA_SET_NAME=rs0
volumes:
- db-data:/data/db
- db-data:/bitnami/mongodb
networks:
- laf

Expand Down

0 comments on commit 2538d65

Please sign in to comment.