Skip to content

Commit

Permalink
⬆️ Upgrade default MongoDB image from 7.0 to 8.0 in Docker Compose files
Browse files Browse the repository at this point in the history
  • Loading branch information
mkjsix committed Nov 18, 2024
1 parent 06f2d9e commit 6527f34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose-graalvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
- "8080:8080"

mongodb:
image: mongo:7.0
image: mongo:8.0
command: ["--bind_ip_all", "--replSet", "rs0"]
healthcheck:
test: ["CMD", "mongosh", "--quiet", "--eval", "'if (!rs.isMaster().ismaster) { rs.initiate(); }'"]
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
- "8080:8080"

mongodb:
image: mongo:7.0
image: mongo:8.0
command: ["--bind_ip_all", "--replSet", "rs0"]
healthcheck:
test: ["CMD", "mongosh", "--quiet", "--eval", "'if (!rs.isMaster().ismaster) { rs.initiate(); }'"]
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
- "8080:8080"

mongodb:
image: mongo:7.0
image: mongo:8.0
command: [ "--bind_ip_all", "--replSet", "rs0" ]
healthcheck:
test: ["CMD", "mongosh", "--quiet", "--eval", "'if (!rs.isMaster().ismaster) { rs.initiate(); }'"]
Expand Down

0 comments on commit 6527f34

Please sign in to comment.