dockge icon indicating copy to clipboard operation
dockge copied to clipboard

Multiple compose files are reported incorrectly

Open LeonvanHeerden opened this issue 9 months ago • 0 comments

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

  • [x] 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 avatar Mar 23 '25 09:03 LeonvanHeerden