Skip to content
Permalink
Browse files

create hubot volume

  • Loading branch information...
Onur
Onur committed May 9, 2019
1 parent 3cb8980 commit 1777b935d71fc4865a05d9cff635ceb955ec85ca
Showing with 2 additions and 2 deletions.
  1. +2 −2 roles/rocketchat/templates/docker-compose.yml.j2
@@ -61,9 +61,9 @@ services:
image: mongo:4.0
networks:
- cdt
command: 'bash -c "for i in `seq 1 30`; do mongo mongo/rocketchat --eval \"rs.initiate({ _id: ''rs0'', members: [ { _id: 0, host: ''localhost:27017'' } ]})\" && s=$$? && break || s=$$?; echo \"Tried $$i times. Waiting 5 secs...\"; sleep 5; done; (exit $$s)"'
command: 'bash -c "for i in `seq 1 30`; do mongo rocketchat_db/rocketchat --eval \"rs.initiate({ _id: ''rs0'', members: [ { _id: 0, host: ''localhost:27017'' } ]})\" && s=$$? && break || s=$$?; echo \"Tried $$i times. Waiting 5 secs...\"; sleep 5; done; (exit $$s)"'
depends_on:
- mongo
- rocketchat_db

# hubot, the popular chatbot (add the bot user first and change the password before starting this image)
hubot:

0 comments on commit 1777b93

Please sign in to comment.
You can’t perform that action at this time.