-
-
Notifications
You must be signed in to change notification settings - Fork 430
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
Folders without compose config visible in UI #183
Comments
I was just going to suggest ignoring .git directories (because I commit my stack into a git repository) but this is more general. Maybe have a 'ignore this directory' option (and make .* ignored by default?) |
Maybe a combination of ignoring |
As long as there is a fallback to Docker Compose v1 ( I don't know about |
My only worry with validating the files is that it will probably slow down on large setups. I believe the files are walked through on every page reload, so I imagine it would cause some noticeable lag when opening the page. |
I am checking for any of: |
Another common pattern is to use a |
🛡️ Security Policy
Description
After #9 was fixed, Dockge will now startup even if mounted directory has folders without compose config files. However, Dockge will still show these folders in the UI.
👟 Reproduction steps
compose.yaml
file in the the mounted directory.👀 Expected behavior
Not showing folders(/files) that are irrelevant for Dockge; if it does not contain a compose configuration file, it should not show up.
😓 Actual Behavior
Dockge Version
1.1.1-nightly-20231125142720
💻 Operating System and Arch
Ubuntu 22.04.2 LTS
🌐 Browser
Google Chrome 119.0.6045.160
🐋 Docker Version
24.0.5
🟩 NodeJS Version
No response
📝 Relevant log output
No response
The text was updated successfully, but these errors were encountered: