-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
51 lines (50 loc) · 1.41 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
version: '3.4'
services:
puppeteer:
image: morawskim/node12-google-chrome:81.0
tty: true
env_file:
- .env
volumes:
- ./:/home/node/app
rocketchat:
image: rocketchat/rocket.chat:4.0.0
volumes:
- uploads:/app/uploads
environment:
- PORT=3000
- ROOT_URL=${ROCKETCHAT_URL:-http://localhost:3000}
- MONGO_URL=mongodb://mongo:27017/rocketchat
- MONGO_OPLOG_URL=mongodb://mongo:27017/local
- MAIL_URL=smtp://smtp.email
- ADMIN_USERNAME=root
- ADMIN_PASS=root
- ADMIN_EMAIL=admin@example.com
depends_on:
- mongo
labels:
traefik.backend: "rocketchat"
traefik.frontend.rule: "Host:rocketchat.lvh.me"
traefik.port: "3000"
mongo:
image: mongo:4.0
volumes:
- db:/data/db
command: mongod --smallfiles --oplogSize 128 --replSet rs0 --storageEngine=mmapv1
labels:
traefik.enable: "false"
traefik:
image: traefik:1.7
command: --web --docker --logLevel=DEBUG
ports:
- "80:80"
- "8080:8080"
- "4443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /dev/null:/etc/traefik/traefik.toml
wait:
image: dokku/wait
volumes:
uploads:
db: