Skip to content

Commit 0855c83

Browse files
committed
chore: update suggested mongo to 6.0
1 parent 2b3e502 commit 0855c83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/documentation/docs/user-guide/installation/installing-sofie-server-core.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ version: '3.3'
2222
services:
2323
db:
2424
hostname: mongo
25-
image: mongo:4.4
25+
image: mongo:6.0
2626
restart: always
2727
entrypoint: ['/usr/bin/mongod', '--replSet', 'rs0', '--bind_ip_all']
2828
# the healthcheck avoids the need to initiate the replica set
2929
healthcheck:
30-
test: test $$(echo "rs.initiate().ok || rs.status().ok" | mongo --quiet) -eq 1
30+
test: test $$(mongosh --quiet --eval "try {rs.initiate()} catch(e) {rs.status().ok}") -eq 1
3131
interval: 10s
3232
start_period: 30s
3333
ports:

0 commit comments

Comments
 (0)