Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Commit

Permalink
Remove unnecessary "depends_on" directives in docker compose config (#…
Browse files Browse the repository at this point in the history
…600)

The depends_on directive is needed if one service depends on another,
it is not needed if one service is simply based on another's definition.

https://docs.docker.com/compose/compose-file/#depends_on
  • Loading branch information
wlach committed Jul 7, 2017
1 parent 10ea0e3 commit 6a228bd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ services:
service: app
ports:
- "8000:8000"
depends_on:
- app
links:
- db
- redis
Expand All @@ -35,8 +33,6 @@ services:
worker:
extends:
service: app
depends_on:
- app
links:
- db
- redis
Expand All @@ -45,8 +41,6 @@ services:
scheduler:
extends:
service: app
depends_on:
- app
links:
- db
- redis
Expand All @@ -55,8 +49,6 @@ services:
monitor:
extends:
service: app
depends_on:
- app
links:
- db
- redis
Expand Down

0 comments on commit 6a228bd

Please sign in to comment.