rocket chat
This commit is contained in:
@@ -122,6 +122,11 @@ services:
|
|||||||
# - type: bind
|
# - type: bind
|
||||||
# source: /srv/rocket/db
|
# source: /srv/rocket/db
|
||||||
# target: /bitnami/mongodb
|
# target: /bitnami/mongodb
|
||||||
|
healthcheck:
|
||||||
|
test: echo 'db.runCommand("ping").ok' | mongo db:27017/db --quiet
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 5
|
||||||
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