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
622 B
YAML
Raw Normal View History

2020-09-23 09:54:24 +02:00
#
2023-10-10 05:23:49 +02:00
# https://github.com/RocketChat/Docker.Official.Image/blob/master/compose.yml
2020-09-23 09:54:24 +02:00
#
2015-08-26 18:29:37 +02:00
2020-09-23 09:54:24 +02:00
version: "3.8"
services:
rocketchat:
2023-10-10 05:23:49 +02:00
image: rocketchat/rocket.chat:6.4.1
2020-09-23 09:54:24 +02:00
ports:
- "3000:3000"
environment:
- ROOT_URL=https://chat.easypi.pro
- MONGO_URL=mongodb://mongo:27017/rocketchat
2023-10-10 05:23:49 +02:00
- MONGO_OPLOG_URL=mongodb://mongo:27017/local?replicaSet=rs0
2020-09-23 09:54:24 +02:00
depends_on:
- mongo
restart: unless-stopped
mongo:
2023-10-10 05:23:49 +02:00
image: mongo:5
command: mongod --smallfiles --oplogSize 128 --replSet rs0
2020-09-23 09:54:24 +02:00
ports:
- "27017:27017"
volumes:
- ./data/db:/data/db
restart: unless-stopped