make use of docker compose dependencies

This commit is contained in:
Nikolaus 2017-02-20 09:56:11 +04:00
parent 02745dd6b4
commit 5094af97e0

View File

@ -30,6 +30,8 @@ services:
- MM_USERNAME=mmuser - MM_USERNAME=mmuser
- MM_PASSWORD=mmuser_password - MM_PASSWORD=mmuser_password
- MM_DBNAME=mattermost - MM_DBNAME=mattermost
depends_on:
- db
web: web:
build: web build: web
@ -44,3 +46,5 @@ services:
environment: environment:
- MATTERMOST_ENABLE_SSL=false - MATTERMOST_ENABLE_SSL=false
- PLATFORM_PORT_80_TCP_PORT=80 - PLATFORM_PORT_80_TCP_PORT=80
depends_on:
- app