forked from mattermost/mattermost-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
28 lines (27 loc) · 1.05 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
version: "2"
services:
app:
image: devel.elearnlab.org:4567/lot3/codelab/mattermost-server
build:
context: app
# uncomment following lines for team edition or change UID/GID
args:
- MM_BINARY=https://github.com/UOC/mattermost-server/releases/download/uoc-lti-0.0.1/mattermost-team-linux-amd64.tar.gz
- edition=team
# - PUID=1000
# - PGID=1000
restart: unless-stopped
volumes:
- ./volumes/app/mattermost/config:/mattermost/config:rw
- ./volumes/app/mattermost/data:/mattermost/data:rw
- ./volumes/app/mattermost/logs:/mattermost/logs:rw
- ./volumes/app/mattermost/plugins:/mattermost/plugins:rw
- ./volumes/app/mattermost/client-plugins:/mattermost/client/plugins:rw
- /etc/localtime:/etc/localtime:ro
environment:
# set same as db credentials and dbname
- MM_USERNAME=${MM_USERNAME}
- MM_PASSWORD=${MM_PASSWORD}
- MM_DBNAME=${MM_DBNAME}
# in case your config is not in default location
#- MM_CONFIG=/mattermost/config/config.json