forked from maruTA-bis5/mattermost4j
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
43 lines (39 loc) · 1.21 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
version: "3"
services:
mysql:
image: mysql:5.7
networks:
- mattermost
environment:
MYSQL_ROOT_HOST: "%"
MYSQL_ROOT_PASSWORD: mostest
MYSQL_PASSWORD: mostest
MYSQL_USER: mmuser
MYSQL_DATABASE: mattermost_test
server:
image: "mattermost/mattermost-team-edition:${MATTERMOST_VERSION:-5.23.0}"
ports:
- "8065:8065"
networks:
- mattermost
environment:
MM_USERNAME: mmuser
MM_PASSWORD: mostest
MM_DBNAME: mattermost_test
MM_SQLSETTINGS_DRIVERNAME: mysql
MM_SQLSETTINGS_DATASOURCE: "mmuser:mostest@tcp(mysql)/mattermost_test?charset=utf8mb4,utf8&readTimeout=30s&writeTimeout=30s"
MM_EMAILSETTINGS_SENDEMAILNOTIFICATION: "true"
MM_EMAILSETTINGS_FEEDBACKEMAIL: "feedback@localhost"
MM_EMAILSETTINGS_SMTPPORT: "2500"
MM_EMAILSETTINGS_SMTPSERVER: inbucket
MM_LOGSETTINGS_ENABLEFILE: "false"
MM_PLUGINSETTINGS_ENABLEUPLOADS: "true"
MM_SERVICESETTINGS_ALLOWEDUNTRUSTEDINTERNALCONNECTIONS: "localhost,127.0.0.1,::1"
MM_SERVICESETTINGS_SITEURL: "http://localhost:8065"
inbucket:
image: inbucket/inbucket:3.0.0
networks:
- mattermost
networks:
mattermost:
driver: bridge