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

This commit is contained in:
Yi EungJun 2015-12-16 16:25:19 +09:00
parent 8de0a04739
commit 1374ba50e8
2 changed files with 3 additions and 2 deletions

View File

@ -11,8 +11,8 @@ chdir /mattermost\n\
exec bin/platform\n'\ exec bin/platform\n'\
>> /etc/init/mattermost.conf >> /etc/init/mattermost.conf
RUN wget https://github.com/mattermost/platform/releases/download/v1.2.1/mattermost.tar.gz \ COPY mattermost-ent.tar.gz /
&& tar -xvzf mattermost.tar.gz && rm mattermost.tar.gz RUN tar -xvzf mattermost-ent.tar.gz && rm mattermost-ent.tar.gz
COPY config.template.json / COPY config.template.json /
COPY docker-entry.sh / COPY docker-entry.sh /

View File

@ -9,6 +9,7 @@ app:
- db:pg - db:pg
volumes: volumes:
- ./volumes/app/mattermost/config:/mattermost/config:rw - ./volumes/app/mattermost/config:/mattermost/config:rw
- ./volumes/app/mattermost/data:/mattermost/data:rw
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
web: web:
build: web build: web