-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yaml
41 lines (40 loc) · 1.01 KB
/
docker-compose.yaml
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
version: '3'
services:
mybot:
build:
context: "."
image: "${HUB_USER}/mybot:latest"
environment:
BIND_ADDRESS: "0.0.0.0"
ENVIRONMENT: "development"
SERVICE_NAME: "${STUDENT_ID}_bot"
SERVICE_ENV: "development"
EXPRESS_USER: "${STUDENT_ID}_bot"
EXPRESS_PASSWORD: "${STUDENT_ID}_pw"
PORT: "8080"
HUBOT_ADAPTER: "${HUBOT_ADAPTER}"
HUBOT_ALIAS: "${STUDENT_ID}"
HUBOT_NAME: "${STUDENT_ID}_bot"
HUBOT_LOG_LEVEL: "debug"
REDIS_URL: "redis://redis:6379"
HUBOT_SLACK_TOKEN: "${SLACK_TOKEN}"
RESPOND_TO_DM: "true"
ROCKETCHAT_URL: "${ROCKETCHAT_URL}"
ROCKETCHAT_ROOM: ""
LISTEN_ON_ALL_PUBLIC: "true"
ROCKETCHAT_USER: "${ROCKETCHAT_USER}"
ROCKETCHAT_PASSWORD: "${ROCKETCHAT_PASSWORD}"
ROCKETCHAT_AUTH: "password"
ports:
- "8080:8080"
networks:
- my-net
redis:
image: "redis:3.2.5"
expose:
- "6379"
networks:
- my-net
networks:
my-net:
driver: bridge