Skip to content

Commit 77a3335

Browse files
committed
Switch to mongo community
1 parent 6e80db1 commit 77a3335

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ services:
1313
timeout: 5s
1414
retries: 5
1515
mongo:
16-
image: mongo:7.0
16+
image: mongodb/mongodb-community-server:8.2.1-ubi8
1717
ports:
1818
- '20002:27017'
1919
environment:
20-
MONGO_INITDB_ROOT_USERNAME: admin
21-
MONGO_INITDB_ROOT_PASSWORD: admin
20+
MONGODB_INITDB_ROOT_USERNAME: admin
21+
MONGODB_INITDB_ROOT_PASSWORD: admin
2222
healthcheck:
2323
test: [ "CMD-SHELL", "echo 'db.runCommand({ ping: 1 })' | mongosh mongodb://localhost:27017/test_db --quiet" ]
2424
interval: 10s

0 commit comments

Comments
 (0)