forked from OetkerDigital/mattermost-coffeebot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
29 lines (27 loc) · 861 Bytes
/
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
---
version: '3.7'
services:
database:
image: mysql:5
ports:
- 3306:3306
volumes:
- /var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: coffeebot
MYSQL_USER: coffeebot
MYSQL_PASSWORD: coffeebot
MYSQL_DATABASE: coffeebot
coffeebot:
build: .
volumes:
- .:/usr/src/app
environment:
COFFEEBOT_DEBUG: '1'
COFFEEBOT_DATABASE_URI: mysql+pymysql://coffeebot:coffeebot@database:3306/coffeebot
COFFEEBOT_MATTERMOST_CHANNEL: ${COFFEEBOT_MATTERMOST_CHANNEL}
COFFEEBOT_MATTERMOST_PASSWORD: ${COFFEEBOT_MATTERMOST_PASSWORD}
COFFEEBOT_MATTERMOST_PORT: ${COFFEEBOT_MATTERMOST_PORT}
COFFEEBOT_MATTERMOST_TEAM: ${COFFEEBOT_MATTERMOST_TEAM}
COFFEEBOT_MATTERMOST_URL: ${COFFEEBOT_MATTERMOST_URL}
COFFEEBOT_MATTERMOST_USERNAME: ${COFFEEBOT_MATTERMOST_USERNAME}