Update README.md

master
Tai 2 years ago committed by GitHub
parent 3731a082c7
commit 72cd7b5cd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -65,20 +65,20 @@ services:
- "traefik.frontend.rule=Host: your.domain.tld"
rocketchat-db:
image: mongo:latest
image: mongo:5.0
container_name: rocketchat-db
restart: unless-stopped
volumes:
- ./data/db:/data/db
#- ./data/dump:/dump
command: mongod --smallfiles --oplogSize 128 --replSet rs0 --storageEngine=mmapv1
command: command: mongod --oplogSize 128 --replSet rs0
labels:
- "traefik.enable=false"
# 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)
rocketchat-db-init-replica:
image: mongo:latest
image: mongo:5.0
command: >
bash -c
"for i in `seq 1 30`; do

Loading…
Cancel
Save