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

Avoid using extends with depends_on in docker-compose #11

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

cgeller
Copy link
Member

@cgeller cgeller commented Mar 14, 2024

In general Docker Compose provides an extends and depends_on feature which could be use in combination. However, some newer versions of Docker Compose do not support to extend a service A with a service B which defines a depends_on.

In order to support many Docker Compose versions (not only a working version such as v2.21.0) this Pull Request shifts the depends_on feature from service B to the top-level service A.

@cgeller cgeller requested a review from bastilam March 14, 2024 12:40
@cgeller cgeller merged commit 0cfeaf0 into main Mar 14, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants