rocket chat

This commit is contained in:
msnie
2025-02-15 14:24:19 +01:00
parent a159ff9b58
commit 34ad8bf773
+14 -14
View File
@@ -122,20 +122,20 @@ services:
# - type: bind
# source: /srv/rocket/db
# target: /bitnami/mongodb
healthcheck:
test:
[
"CMD",
"mongo",
"--quiet",
"mongodb/test",
"--eval",
"'quit(db.runCommand({ ping: 1 }).ok ? 0 : 2)'",
]
interval: 10s
timeout: 10s
retries: 5
start_period: 40s
# healthcheck:
# test:
# [
# "CMD",
# "mongo",
# "--quiet",
# "mongodb/test",
# "--eval",
# "'quit(db.runCommand({ ping: 1 }).ok ? 0 : 2)'",
# ]
# interval: 10s
# timeout: 10s
# retries: 5
# start_period: 40s
environment:
MONGODB_REPLICA_SET_MODE: primary
MONGODB_REPLICA_SET_NAME: rs0