# # https://github.com/RocketChat/Rocket.Chat/blob/develop/docker-compose.yml # version: "3.8" services: rocketchat: image: rocketchat/rocket.chat:3.7.0 ports: - "3000:3000" environment: - ROOT_URL=https://chat.easypi.pro - MONGO_URL=mongodb://mongo:27017/rocketchat - MONGO_OPLOG_URL=mongodb://mongo:27017/local depends_on: - mongo restart: unless-stopped mongo: image: mongo:4 command: mongod --oplogSize 128 --replSet rs0 ports: - "27017:27017" volumes: - ./data/db:/data/db restart: unless-stopped