Mount the data at ./volumes/app/mattermost/data

This commit is contained in:
Yi EungJun committed 2015-12-16 16:26:27 +09:00
1 parent 8de0a04739
commit 1374ba50e8
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -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 /
+1
View File
@@ -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