Merge pull request #99 from nikosch86/docker-compose-dependencies

make use of docker compose dependencies
This commit is contained in:
Pan Luo 2017-02-23 13:31:18 -08:00 committed by GitHub
commit c6e177cdf2

View File

@ -32,6 +32,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
@ -46,3 +48,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