Skip to content

Commit 7a1e8e3

Browse files
authored
chore: use MongoDB v7 for testing
1 parent acddc3b commit 7a1e8e3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Makefile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,9 @@ start-local-db:
1818
ifneq ($(LOCAL_DB),mongodb-hub)
1919
docker start mongodb-hub || \
2020
docker run -d -p 27017:27017 --name mongodb-hub \
21-
-e MONGODB_ROOT_PASSWORD=secret \
22-
-e MONGODB_REPLICA_SET_MODE=primary \
23-
-e MONGODB_REPLICA_SET_KEY=replicatsetkey \
24-
-e MONGODB_INITIAL_PRIMARY_HOST=localhost \
25-
-e MONGODB_ADVERTISED_HOSTNAME=localhost \
26-
ghcr.io/zcube/bitnami-compat/mongodb:6.0
21+
-e MONGO_INITDB_ROOT_USERNAME=root \
22+
-e MONGO_INITDB_ROOT_PASSWORD=secret \
23+
mongo:7.0
2724
endif
2825

2926
stop-local-db:

0 commit comments

Comments
 (0)