-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathdocker-compose.mm.yml
37 lines (36 loc) · 1.02 KB
/
docker-compose.mm.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
services:
mattermost:
platform: linux/amd64
image: mattermost/mattermost-preview:10.1.3
# ports:
# - 127.0.0.1:8065:8065
volumes:
- mattermost_prev_db:/var/lib/postgresql/data
- mattermost_prev_config:/mm/mattermost/config
- mattermost_prev_data:/mm/mattermost-data
mattermost_caddy:
# ports:
# - 127.0.0.1:8066:8066
build:
context: ./mattermost
# mattermost_mail:
# build:
# context: ./server
# dockerfile: Dockerfile.mmmail
# args:
# - ENV=production
# healthcheck:
# test: wget --no-verbose --tries=1 --spider http://localhost:2525/ping || exit 1
# interval: 30s
# timeout: 5s
# retries: 5
# environment:
# - DB_HOST=$DB_HOST
# - DB_PORT=$DB_PORT
# - DB_NAME=$DB_NAME
# - DB_USER=$DB_USER
# - DB_PASS=$DB_PASS
# - MM_SMTP_HOST=mattermost_mail
# - MM_SMTP_PORT=2525
# - ONESIGNAL_APP_ID=$ONESIGNAL_APP_ID
# - ONESIGNAL_REST_API_KEY=$ONESIGNAL_REST_API_KEY