Use links instead of depends_on
This commit is contained in:
parent
944a4ea7de
commit
5993e1f231
@ -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
|
||||
|
Reference in New Issue
Block a user