Merge pull request #103 from darkrasid/master

add log dir volume option on docker-compose file
This commit is contained in:
Pan Luo 2017-03-01 21:21:38 -08:00 committed by GitHub
commit 7b478061f1
2 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,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

@ -26,6 +26,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 credentials and dbname