forked from attzonko/mmpy_bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
26 lines (25 loc) · 921 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
version: "3.7"
services:
app:
# This docker-compose file specifies a mmpy_bot
# running locally for development/test purposes
container_name: "mmpy_bot"
build: .
# network_mode and extra_hosts should only be necessary
# if mattermost is running on the host machine
network_mode: host
extra_hosts:
- "dockerhost:127.0.0.1"
environment:
- MATTERMOST_URL=http://127.0.0.1
# You will need to update BOT_TOKEN to match the
# token generated in your Mattermost server
- BOT_TOKEN=e691u15hajdebcnqpfdceqihcc
- MATTERMOST_PORT=8065
# WARNING: Use SSL_VERIFY=False only if your Mattermost server
# is using self-signed SSL certificates or HTTP (without SSL).
# SSL_VERIFY should be set to True otherwise.
- SSL_VERIFY=False
- WEBHOOK_HOST_ENABLED=True
- WEBHOOK_HOST_URL=http://127.0.0.1
- WEBHOOK_HOST_PORT=8579