Merge pull request #89 from darkrasid/master
set db setting on app also
This commit is contained in:
commit
02745dd6b4
@ -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:
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user