Skip to content

Commit

Permalink
upgrade mongo
Browse files Browse the repository at this point in the history
  • Loading branch information
tvrcgo committed Mar 6, 2024
1 parent f9bef38 commit c386174
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mongodb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

FROM mongo:3.4
FROM mongo:3.6
8 changes: 4 additions & 4 deletions mongodb/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ services:
environment:
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/dev/null
- MONGODB_USER="root"
- MONGODB_PASS="123456"
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=123456
volumes:
- ~/Docker/mongo/db:/data/db
ports:
Expand All @@ -24,8 +24,8 @@ services:
environment:
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/dev/null
- MONGODB_USER="root"
- MONGODB_PASS="123456"
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=123456
volumes:
- D:/Docker/mongo/db:/data/db
ports:
Expand Down

0 comments on commit c386174

Please sign in to comment.