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

Fix Docker Compose file for v2 #185

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

gemmaro
Copy link
Contributor

@gemmaro gemmaro commented Aug 9, 2022

This pull request arranges order of app_base inheritance and container_name in docker-compose.yml, which fixes Docker container name conflicts (/blackcandy_app) when using Docker Compose v2.
(Perhaps it is because the container name has been overwritten by inheritance.)

fix #180

Arranging order of app_base inheritance and container_name,
which fixes Docker container name conflict (/blackcandy_app)
when using Docker Compose v2.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 2822354378

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 2816771559: 0.0%
Covered Lines: 790
Relevant Lines: 790

💛 - Coveralls

@aidewoode aidewoode merged commit 3501e1e into blackcandy-org:master Aug 9, 2022
@aidewoode
Copy link
Member

Thanks. I test it on docker compose v2, it works really well.

@gemmaro gemmaro deleted the fix/docker-compose-v2 branch August 9, 2022 04:03
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.

Error response from daemon: Conflict. The container name "/blackcandy_app" is already in use by container XXX
3 participants