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