add log dir volume option on docker-compose file

This commit is contained in:
pilsner 2017-02-23 14:09:53 +09:00
parent 02745dd6b4
commit d9aaad088a
2 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ app:
volumes:
- ./volumes/app/mattermost/config:/mattermost/config:rw
- ./volumes/app/mattermost/data:/mattermost/data:rw
- ./volumes/app/mattermost/logs:/mattermost/logs:rw
- /etc/localtime:/etc/localtime:ro
environment:
# set same as db environment

View File

@ -24,6 +24,7 @@ services:
volumes:
- ./volumes/app/mattermost/config:/mattermost/config:rw
- ./volumes/app/mattermost/data:/mattermost/data:rw
- ./volumes/app/mattermost/logs:/mattermost/logs:rw
- /etc/localtime:/etc/localtime:ro
environment:
# set same as db environment