diff --git a/stacks/rocketchat.yml b/stacks/rocketchat.yml index c5a3fa52..1e6f7d58 100644 --- a/stacks/rocketchat.yml +++ b/stacks/rocketchat.yml @@ -4,7 +4,7 @@ version: '3.8' services: web: - image: rocketchat/rocket.chat:${VERSION:-4.8.7} + image: rocketchat/rocket.chat:${VERSION:-6.2.10} command: bash -c 'for i in `seq 1 30`; do node --max-old-space-size=4096 main.js && s=$$? && break || s=$$?; echo "Tried $$i times. Waiting 5 secs..."; sleep 5; done; (exit $$s)' volumes: - ${VOLUME_PATH}uploads:/app/uploads @@ -27,7 +27,7 @@ services: - internal mongo: - image: mongo:4.2.24 + image: mongo:${MONGO_VERSION:-4.4} command: mongod --oplogSize 128 --replSet rs01 volumes: - ${VOLUME_PATH}mongo:/data/db @@ -35,7 +35,7 @@ services: - internal mongo-init-replica: - image: mongo:4.2.24 + image: mongo:${MONGO_VERSION:-4.4} command: 'mongo mongo/rocketchat --eval "rs.initiate({ _id: ''rs01'', members: [ { _id: 0, host: ''mongo:27017'' } ]})"' deploy: restart_policy: