From 5993e1f2319b15498bad3a3cb700321bdde7dfd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=A2ne=20Pichou?= Date: Mon, 19 Jun 2017 10:47:59 +0200 Subject: [PATCH] Use links instead of depends_on --- docker-compose.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5d1622c..5cd59aa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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