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

Files named compose.yml/compose.yaml are not recognized in a COMPOSE_DIR directory #502

Open
MetalArend opened this issue Jul 17, 2022 · 6 comments · May be fixed by #648
Open

Files named compose.yml/compose.yaml are not recognized in a COMPOSE_DIR directory #502

MetalArend opened this issue Jul 17, 2022 · 6 comments · May be fixed by #648
Labels
bug Something isn't working

Comments

@MetalArend
Copy link

Docker compose's recommendations say that the preferred name for a docker compose file is compose.yml. But Yacht does not recognize that filename.

@MetalArend MetalArend added the bug Something isn't working label Jul 17, 2022
@wickedyoda
Copy link
Collaborator

Unless things have recently changed it's supposed to be docker-compose.yml, please link to the documentation you referencing. @MetalArend

@MetalArend
Copy link
Author

@SelfhostedPro
Copy link
Owner

Currently it needs to be named docker-compose.yaml. The version of docker-compose doesn’t support compose.yaml yet. Working on updating but running into some issues.

@MetalArend
Copy link
Author

It would still need to be able to use docker-compose.yaml after the change as well, as it is still supported. And yeah, it is a recent change, they're moving to that integrated compose tool :)

Btw, no pressure, just wanted to report it, share the new knowledge. First time I heard of yacht, looks interesting, so ❤️ and thanks for your time and effort!

(Also saw some path error, I think when you put the docker-compose.yaml in the root of the mounted volume, but I did not yet find the time to reproduce it, so did not report it yet. If I see it again, I'll make a screenshot.)

@SelfhostedPro
Copy link
Owner

Typically it’ll be in /config/compose/$foldername/docker-compose.yaml. You can create a new project in the ui to see where it gets created too.

Definitely will add that in and check the python docker library to see if they have new compose options too. Thanks for the heads up!

@queeup
Copy link

queeup commented Jan 29, 2024

I think it's time to add compose.yaml & compose.yml file to supported file name.

https://docs.docker.com/compose/compose-application-model/

queeup added a commit to queeup-Forks/Yacht that referenced this issue Jan 30, 2024
queeup added a commit to queeup-Forks/Yacht that referenced this issue Jan 30, 2024
@queeup queeup linked a pull request Jan 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants