forked from dropbox/securitybot
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (39 loc) · 916 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (39 loc) · 916 Bytes
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
version: '3'
services:
db:
image: mysql:5.7.22
environment:
- MYSQL_ROOT_PASSWORD=${DB_PASS}
# volumes:
# - mysql-securitybot:/var/lib/mysql
ports:
- "3306"
bot:
build: .
image: securitybot
command: bot
environment:
- SLACK_API_TOKEN=${SLACK_API_TOKEN}
- REPORTING_CHANNEL=${REPORTING_CHANNEL}
- DUO_INTEGRATION_KEY=${DUO_INTEGRATION_KEY}
- DUO_SECRET_KEY=${DUO_SECRET_KEY}
- DUO_ENDPOINT=${DUO_ENDPOINT}
- DB_HOST=db
- DB_USER=root
- DB_PASS=${DB_PASS}
- DB_NAME=securitybot
- SLOW_RESPONSE_TIME=${SLOW_RESPONSE_TIME}
- ANALYTICS_TOKEN=${ANALYTICS_TOKEN}
frontend:
build: .
image: securitybot
command: frontend
ports:
- "8888:8888"
environment:
- DB_HOST=db
- DB_USER=root
- DB_PASS=${DB_PASS}
- DB_NAME=securitybot
volumes:
mysql-securitybot: