rocket chat

This commit is contained in:
msnie
2025-02-15 14:25:37 +01:00
parent 34ad8bf773
commit 58373dd0e3
+6 -14
View File
@@ -122,20 +122,12 @@ services:
# - type: bind # - type: bind
# source: /srv/rocket/db # source: /srv/rocket/db
# target: /bitnami/mongodb # target: /bitnami/mongodb
# healthcheck: healthcheck:
# test: test: echo 'db.runCommand("ping").ok' | mongosh localhost:27017/rocketchat --quiet
# [ interval: 10s
# "CMD", timeout: 10s
# "mongo", retries: 3
# "--quiet", start_period: 20s
# "mongodb/test",
# "--eval",
# "'quit(db.runCommand({ ping: 1 }).ok ? 0 : 2)'",
# ]
# interval: 10s
# timeout: 10s
# retries: 5
# 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