Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

ERROR: Service 'web' depends on service 'db' which is undefined. #24

Open
lattice0 opened this issue Mar 3, 2020 · 1 comment
Open

Comments

@lattice0
Copy link

lattice0 commented Mar 3, 2020

sudo docker-compose up
ERROR: Service 'web' depends on service 'db' which is undefined.

@benhutchins
Copy link
Owner

This is a problem with your Docker compose file.

If you want to share it it might be easier to explain specifically.

Essentially you have a depends_on statement in your Docker compose file for the web container that specifies db but you do not have a DB container.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants