Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker compose: services with 'depends_on' cannot be extended #8585

Closed
nugaon opened this issue Oct 2, 2023 · 2 comments
Closed

Docker compose: services with 'depends_on' cannot be extended #8585

nugaon opened this issue Oct 2, 2023 · 2 comments
Labels
triage waiting on feedback Waiting for original opener to respond if bug is fixed

Comments

@nugaon
Copy link

nugaon commented Oct 2, 2023

Description

I was following the instructions of the docker-compose readme and when I ran docker-compose with the suggested configuration file, I got an error:

ERROR: Cannot extend service 'db' in ./blockscout/docker-compose/services/docker-compose-db.yml: services with 'depends_on' cannot be extended

Type of the installation

Docker-compose

Type of the JSON RPC archive node

Ganache

Type of the chain

No response

Link to the page

https://github.com/blockscout/blockscout/tree/master/docker-compose

Steps to reproduce

$ docker-compose -f docker-compose-no-build-ganache.yml up -d

Backend version

4c25dd2

Frontend version

No response

Elixir & Erlang/OTP versions

???

Operating system

Linux

Additional information

My docker-compose version is 1.29.2

@nugaon nugaon added the triage label Oct 2, 2023
@vbaranov
Copy link
Member

vbaranov commented Oct 3, 2023

Docker-compose 2.x.x+

is the requirement. Please upgrade from v1 to v2.

@vbaranov vbaranov added the waiting on feedback Waiting for original opener to respond if bug is fixed label Oct 3, 2023
@nugaon
Copy link
Author

nugaon commented Oct 3, 2023

I missed that part, sorry about that.
Now everything works like a charm.

Thanks for the heads up!

@nugaon nugaon closed this as completed Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage waiting on feedback Waiting for original opener to respond if bug is fixed
Projects
None yet
Development

No branches or pull requests

2 participants