Use links instead of depends_on

This commit is contained in:
Kyâne Pichou 2017-06-19 10:47:59 +02:00 committed by GitHub
parent 944a4ea7de
commit 5993e1f231

View File

@ -36,8 +36,8 @@ services:
- MM_USERNAME=mmuser
- MM_PASSWORD=mmuser_password
- MM_DBNAME=mattermost
depends_on:
- db
links:
- db:db
web:
build: web
@ -49,5 +49,5 @@ services:
# This directory must have cert files
- ./volumes/web/cert:/cert:ro
- /etc/localtime:/etc/localtime:ro
depends_on:
- app
links:
- app:app