Skip to content

Conversation

Joly0
Copy link

@Joly0 Joly0 commented May 14, 2025

Hey, i have been using your compose plugin for quite a while. I noticed, that the file name for the compose file is hardcoded to be "docker-compose.yml".
I tried to add a compose stack for "Perplexica" which uses "docker-compose.yaml", which resulted in the problem, that the stack in the webui kept creating the docker-compose.yml file instead of using docker-compose.yaml
This annoyed me. I also found the comment here #7 (comment) talking about the namings for the files as per spec.
So i decied to tackle this and implemented code to support the four different file names.

I also created test projects on my unraid server locally and tested if this is working:
grafik
This shows the five test projects i created. The first four are the different compose file namings as per spec created manually, the fifth is when creating a stack through the gui instead of using an on-disk stack
grafik
grafik
grafik
grafik
This is the perplexica stack. Previously this was empty as the compose plugin always created an empty file "docker-compose.yml" and didnt use the "docker-compose.yaml" file.
grafik
Perplexica runs now without problems

Joly0 added 3 commits May 14, 2025 14:01
Saving files with other names for compose file as per spec now works
@Joly0
Copy link
Author

Joly0 commented May 14, 2025

Ok, everything works now. Some small bugs slipped through, but i fixed them. @dcflachs you can review now. Hopefully these changes work for you aswell so we can merge them :)

@Joly0
Copy link
Author

Joly0 commented Jun 11, 2025

@dcflachs Can you please take a look at this? Its a really annoying bug.

@jaimbo
Copy link

jaimbo commented Aug 18, 2025

I'd also really like to see this change merged

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