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_USERNAME=mmuser
- MM_PASSWORD=mmuser_password - MM_PASSWORD=mmuser_password
- MM_DBNAME=mattermost - MM_DBNAME=mattermost
depends_on: links:
- db - db:db
web: web:
build: web build: web
@ -49,5 +49,5 @@ services:
# This directory must have cert files # This directory must have cert files
- ./volumes/web/cert:/cert:ro - ./volumes/web/cert:/cert:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
depends_on: links:
- app - app:app