Compare commits

...

1 Commits

Author SHA1 Message Date
Diego Mello fece269345 Workaround to use mongodb with docker on M1 2021-06-17 12:49:35 -03:00
1 changed files with 2 additions and 1 deletions

View File

@ -2,12 +2,13 @@ version: '2'
services:
mongo:
image: circleci/mongo:4.0
# image: circleci/mongo:4.0
volumes:
- ${DATAROOT}/data/db:/data/db
- ${DATAROOT}/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d:ro
environment:
- MONGO_INITDB_DATABASE=rocketchat
command: mongod --smallfiles --oplogSize 128 --replSet rs0 --storageEngine=wiredTiger
mongo-init-replica: # No replicas when testing
image: tianon/true