Skip to content

Commit

Permalink
feat: update rocketchat
Browse files Browse the repository at this point in the history
  • Loading branch information
johackim committed Jul 17, 2023
1 parent 108e698 commit faac16d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stacks/rocketchat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -27,15 +27,15 @@ 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
networks:
- 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:
Expand Down

0 comments on commit faac16d

Please sign in to comment.