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

Multiple compose files are reported incorrectly #760

Open
2 tasks done
LeonvanHeerden opened this issue Mar 23, 2025 · 0 comments
Open
2 tasks done

Multiple compose files are reported incorrectly #760

LeonvanHeerden opened this issue Mar 23, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@LeonvanHeerden
Copy link

⚠️ Please verify that this bug has NOT been reported before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

I have extracted a repo and it included a docker_compose.yaml file. I created my own compose.yaml file in the same folder.
Dockge reports that there are multiple compatible compose files in the folder and it will use the compose. yaml file.

WARN[0000] Found multiple config files with supported names: /opt/docker/guacamole/compose.yml, /opt/docker/guacamole/docker-compose.yml 
WARN[0000] Using /opt/docker/guacamole/compose.yml      

The one that I wanted. but on the right the docker_compose.yaml file is used.

Image

👟 Reproduction steps

Have two valid yaml files in the stack folder that you want to work with.
Have a compose.yaml and a docker_compose.yaml.

👀 Expected behavior

Use the compose.yaml file for the edit view on the side.

😓 Actual Behavior

The docker_compose.yaml file is shown on the right and the edit also edits that file.

Dockge Version

1.4.2

💻 Operating System and Arch

Ubuntu 22.04

🌐 Browser

Edge

🐋 Docker Version

Docker 28.0.1

🟩 NodeJS Version

No response

📝 Relevant log output

WARN[0000] Found multiple config files with supported names: /opt/docker/guacamole/compose.yml, /opt/docker/guacamole/docker-compose.yml 
WARN[0000] Using /opt/docker/guacamole/compose.yml
@LeonvanHeerden LeonvanHeerden added the bug Something isn't working label Mar 23, 2025
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

No branches or pull requests

1 participant