File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
- # ignore: true
2
1
# documentation: https://docs.mattermost.com
3
2
# slogan: Mattermost is an open source, self-hosted Slack-alternative.
4
3
# tags: mattermost,slack,alternative
7
6
8
7
services :
9
8
mattermost :
10
- image : mattermost/mattermost-team-edition:release-9
9
+ image : mattermost/mattermost-team-edition:release-10
10
+ platform : linux/amd64
11
11
volumes :
12
12
- mattermost-data:/mattermost
13
13
environment :
14
- - SERVICE_FQDN_MATTERMOST
14
+ - SERVICE_FQDN_MATTERMOST_8065
15
+ - MM_SERVICESETTINGS_SITEURL=${SERVICE_FQDN_MATTERMOST}
15
16
- TZ=${TZ:-UTC}
16
17
- MM_SQLSETTINGS_DRIVERNAME=postgres
17
18
- MM_SQLSETTINGS_DATASOURCE=postgres://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgres:5432/$POSTGRES_DB?sslmode=disable&connect_timeout=10
18
19
- MM_BLEVESETTINGS_INDEXDIR=/mattermost/bleve-indexes
19
- - MM_SERVICESETTINGS_SITEURL=$SERVICE_FQDN_MATTERMOST
20
20
depends_on :
21
- - postgres
21
+ postgres :
22
+ condition : service_healthy
23
+ healthcheck :
24
+ test : ["CMD", "curl", "-f", "http://127.0.0.1:8065"]
25
+ interval : 5s
26
+ timeout : 20s
27
+ retries : 10
28
+
22
29
postgres :
23
30
image : postgres:16-alpine
24
31
volumes :
You can’t perform that action at this time.
0 commit comments