mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:50 +02:00
29 lines
577 B
YAML
29 lines
577 B
YAML
#
|
|
# https://github.com/RocketChat/Rocket.Chat/blob/develop/docker-compose.yml
|
|
#
|
|
|
|
version: "3.8"
|
|
|
|
services:
|
|
|
|
rocketchat:
|
|
image: rocket.chat:3
|
|
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
|