1
0
Fork 0
mirror of https://github.com/louislam/dockge.git synced 2026-03-03 02:06:55 -05:00

Multiple compose files are reported incorrectly #200

Open
opened 2026-02-20 13:12:06 -05:00 by deekerman · 0 comments
Owner

Originally created by @LeonvanHeerden on GitHub (Mar 23, 2025).

⚠️ 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
Originally created by @LeonvanHeerden on GitHub (Mar 23, 2025). ### ⚠️ Please verify that this bug has NOT been reported before. - [x] I checked and didn't find similar issue ### 🛡️ Security Policy - [x] I agree to have read this project [Security Policy](https://github.com/louislam/dockge/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](https://github.com/user-attachments/assets/8763315e-2a5b-4c05-90d0-320587f7ae57) ### 👟 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 ```shell 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 ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dockge-louislam#200
No description provided.