Merge pull request #89 from darkrasid/master

set db setting on app also
This commit is contained in:
Pan Luo 2017-02-11 16:06:39 -08:00 committed by GitHub
commit 02745dd6b4
2 changed files with 11 additions and 0 deletions

View File

@ -22,6 +22,12 @@ app:
- ./volumes/app/mattermost/config:/mattermost/config:rw
- ./volumes/app/mattermost/data:/mattermost/data:rw
- /etc/localtime:/etc/localtime:ro
environment:
# set same as db environment
- MM_USERNAME=mmuser
- MM_PASSWORD=mmuser_password
- MM_DBNAME=mattermost
web:
build: web
ports:

View File

@ -25,6 +25,11 @@ services:
- ./volumes/app/mattermost/config:/mattermost/config:rw
- ./volumes/app/mattermost/data:/mattermost/data:rw
- /etc/localtime:/etc/localtime:ro
environment:
# set same as db environment
- MM_USERNAME=mmuser
- MM_PASSWORD=mmuser_password
- MM_DBNAME=mattermost
web:
build: web