1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00
dockerfiles/rocketchat/docker-compose.yml
2023-10-10 11:23:49 +08:00

29 lines
622 B
YAML

#
# https://github.com/RocketChat/Docker.Official.Image/blob/master/compose.yml
#
version: "3.8"
services:
rocketchat:
image: rocketchat/rocket.chat:6.4.1
ports:
- "3000:3000"
environment:
- ROOT_URL=https://chat.easypi.pro
- MONGO_URL=mongodb://mongo:27017/rocketchat
- MONGO_OPLOG_URL=mongodb://mongo:27017/local?replicaSet=rs0
depends_on:
- mongo
restart: unless-stopped
mongo:
image: mongo:5
command: mongod --smallfiles --oplogSize 128 --replSet rs0
ports:
- "27017:27017"
volumes:
- ./data/db:/data/db
restart: unless-stopped