Skip to content

Commit

Permalink
create hubot volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Onur committed May 9, 2019
1 parent 3cb8980 commit 1777b93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/rocketchat/templates/docker-compose.yml.j2
Expand Up @@ -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:
Expand Down

0 comments on commit 1777b93

Please sign in to comment.