rocket chat
This commit is contained in:
@@ -122,20 +122,20 @@ services:
|
|||||||
# - type: bind
|
# - type: bind
|
||||||
# source: /srv/rocket/db
|
# source: /srv/rocket/db
|
||||||
# target: /bitnami/mongodb
|
# target: /bitnami/mongodb
|
||||||
healthcheck:
|
# healthcheck:
|
||||||
test:
|
# test:
|
||||||
[
|
# [
|
||||||
"CMD",
|
# "CMD",
|
||||||
"mongo",
|
# "mongo",
|
||||||
"--quiet",
|
# "--quiet",
|
||||||
"mongodb/test",
|
# "mongodb/test",
|
||||||
"--eval",
|
# "--eval",
|
||||||
"'quit(db.runCommand({ ping: 1 }).ok ? 0 : 2)'",
|
# "'quit(db.runCommand({ ping: 1 }).ok ? 0 : 2)'",
|
||||||
]
|
# ]
|
||||||
interval: 10s
|
# interval: 10s
|
||||||
timeout: 10s
|
# timeout: 10s
|
||||||
retries: 5
|
# retries: 5
|
||||||
start_period: 40s
|
# start_period: 40s
|
||||||
environment:
|
environment:
|
||||||
MONGODB_REPLICA_SET_MODE: primary
|
MONGODB_REPLICA_SET_MODE: primary
|
||||||
MONGODB_REPLICA_SET_NAME: rs0
|
MONGODB_REPLICA_SET_NAME: rs0
|
||||||
|
|||||||
Reference in New Issue
Block a user