forked from timkinnane/hubot-rocketchat-announcement
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (46 loc) · 1.17 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
version: '2'
services:
mongo:
image: mongo
volumes:
- ./chat/data/db:/data/db
- ./chat/data/dump:/dump
tty: true
command:
- mongod
- --smallfiles
- --oplogSize
- '128'
ports:
- '27017:27017'
rocketchat:
image: rocketchat/rocket.chat:latest
links:
- mongo
environment:
MONGO_URL: 'mongodb://mongo:27017/rocketchat'
PORT: '3000'
ROOT_URL: 'http://localhost:3000'
volumes:
- ./chat/uploads:/app/uploads
ports:
- '3000:3000'
hubot:
image: diegodorgam/hubot-rocketchat-notify:latest
links:
- mongo
environment:
ROCKETCHAT_URL: 'https://b3chat.rtm.net.br'
#ROCKETCHAT_URL: 'http://rocketchat:3000'
HUBOT_ADAPTER: rocketchat
HUBOT_NAME: 'Notify'
HUBOT_DESCRIPTION: 'Creates announcements to all users in Rocket.Chat'
ROCKETCHAT_ROOM: GENERAL
RESPOND_TO_DM: "true"
RESPOND_TO_LIVECHAT: "true"
ROCKETCHAT_USER: notify
ROCKETCHAT_PASSWORD: '2k18!Rocket'
ROCKETCHAT_AUTH: password
ROCKETCHAT_USESSL: "true"
HUBOT_LOG_LEVEL: debug
MONGODB_URL: "mongodb://mongo:27017/rocketchat"