Mount the data at ./volumes/app/mattermost/data
This commit is contained in:
parent
8de0a04739
commit
1374ba50e8
@ -11,8 +11,8 @@ chdir /mattermost\n\
|
||||
exec bin/platform\n'\
|
||||
>> /etc/init/mattermost.conf
|
||||
|
||||
RUN wget https://github.com/mattermost/platform/releases/download/v1.2.1/mattermost.tar.gz \
|
||||
&& tar -xvzf mattermost.tar.gz && rm mattermost.tar.gz
|
||||
COPY mattermost-ent.tar.gz /
|
||||
RUN tar -xvzf mattermost-ent.tar.gz && rm mattermost-ent.tar.gz
|
||||
|
||||
COPY config.template.json /
|
||||
COPY docker-entry.sh /
|
||||
|
@ -9,6 +9,7 @@ app:
|
||||
- db:pg
|
||||
volumes:
|
||||
- ./volumes/app/mattermost/config:/mattermost/config:rw
|
||||
- ./volumes/app/mattermost/data:/mattermost/data:rw
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
web:
|
||||
build: web
|
||||
|
Reference in New Issue
Block a user