Skip to content

Commit

Permalink
[IMPROVE] Update to MongoDB 4.0 in docker-compose file (#13396)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngulden authored and sampaiodiego committed Feb 8, 2019
1 parent e8fe2ff commit 7e71897
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
- "traefik.frontend.rule=Host: your.domain.tld"

mongo:
image: mongo:3.2
image: mongo:4.0
restart: unless-stopped
volumes:
- ./data/db:/data/db
Expand All @@ -35,7 +35,7 @@ services:
# this container's job is just run the command to initialize the replica set.
# it will run the command and remove himself (it will not stay running)
mongo-init-replica:
image: mongo:3.2
image: mongo:4.0
command: 'mongo mongo/rocketchat --eval "rs.initiate({ _id: ''rs0'', members: [ { _id: 0, host: ''localhost:27017'' } ]})"'
depends_on:
- mongo
Expand Down

0 comments on commit 7e71897

Please sign in to comment.