1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/rocketchat/docker-compose.yml

29 lines
577 B
YAML
Raw Normal View History

2020-09-23 09:54:24 +02:00
#
# https://github.com/RocketChat/Rocket.Chat/blob/develop/docker-compose.yml
#
2015-08-26 18:29:37 +02:00
2020-09-23 09:54:24 +02:00
version: "3.8"
services:
rocketchat:
2021-01-13 11:50:46 +02:00
image: rocket.chat:3
2020-09-23 09:54:24 +02:00
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