-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
71 lines (68 loc) · 2.12 KB
/
docker-compose.yml
File metadata and controls
71 lines (68 loc) · 2.12 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: chat
services:
mattermost:
image: mattermost/mattermost-team-edition:10.9.1
pull_policy: if_not_present
container_name: chat-web
restart: unless-stopped
# has built in healthcheck so no need to specify one
depends_on:
postgres:
condition: service_healthy
restart: true
env_file:
- .env
ports:
- ${APP_PORT}:8065
environment:
- MM_TEAMSETTINGS_SITENAME=NEI/AAC
- MM_TEAMSETTINGS_CUSTOMDESCRIPTIONTEXT=Welcome to the team chat!
- MM_TEAMSETTINGS_ENABLECUSTOMBRAND=true
- MM_SUPPORTSETTINGS_HELPLINK=
- MM_SERVICESETTINGS_ENABLEDESKTOPLANDINGPAGE=false
- MM_PLUGINSETTINGS_ENABLEUPLOADS=true
- MM_PLUGINSETTINGS_AUTOMATICPREPACKAGEDPLUGINS=false
- MM_BLEVESETTINGS_ENABLEINDEXING=false
- MM_BLEVESETTINGS_INDEXDIR=
- MM_BLEVESETTINGS_ENABLESEARCHING=false
- MM_BLEVESETTINGS_ENABLEAUTOCOMPLETE=false
- MM_TEAMSETTINGS_ENABLEJOINLEAVEMESSAGEBYDEFAULT=false
- MM_TEAMSETTINGS_TEAMMATENAMEDISPLAY=nickname_full_name
- MM_EMAILSETTINGS_SKIPSERVERCERTIFICATEVERIFICATION=false
- MM_FILESETTINGS_DRIVERNAME=local
- MM_FILESETTINGS_DIRECTORY=./data/
- MM_METRICSSETTINGS_ENABLENOTIFICATIONMETRICS=false
- MM_LOGSETTINGS_ENABLEDIAGNOSTICS=false
- MM_SERVICESETTINGS_ENABLEINCOMINGWEBHOOKS=true
- MM_SERVICESETTINGS_ENABLEPOSTUSERNAMEOVERRIDE=true
volumes:
- config:/mattermost/config
- data:/mattermost/data
- logs:/mattermost/logs
- plugins:/mattermost/plugins
- client:/mattermost/client/plugins
- indexes:/mattermost/bleve-indexes
postgres:
image: postgres:13-alpine
pull_policy: if_not_present
container_name: chat-db
restart: unless-stopped
volumes:
- database:/var/lib/postgresql/data
environment:
- POSTGRES_USER=${DB_USER}
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=${DB_NAME}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${DB_USER}"]
interval: 2s
timeout: 5s
retries: 10
volumes:
database:
config:
data:
logs:
plugins:
client:
indexes: