fix: use 'mongo' shell for healthcheck (mongosh not in mongo:4.4)
This commit is contained in:
parent
a5e9109f13
commit
ccb4f22e57
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ services:
|
|||
- stack.env
|
||||
command: ["--auth", "--bind_ip_all"]
|
||||
healthcheck:
|
||||
test: ["CMD", "mongosh", "--quiet", "--eval", "db.adminCommand('ping')"]
|
||||
test: ["CMD", "mongo", "--quiet", "--eval", "db.adminCommand('ping')"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue