diff --git a/docker-compose-v1.yml b/docker-compose-v1.yml index e01768a..0017aa8 100644 --- a/docker-compose-v1.yml +++ b/docker-compose-v1.yml @@ -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: diff --git a/docker-compose.yml b/docker-compose.yml index 6751bd7..eaf0a2e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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