Group containers on left panel in compose mode
Describe the feature you would like to see
I have multiple compose nodes(without swarm mode) and there is more monitoring containers than other containers. I would like to move all monitoring containers into one group and show that group at the bottom of the left panel. This will make it easier to find "app" containers.
Describe how you would like to see this feature implemented
I imagine it like this
Maybe use existing "custom container group" feature for this? Add "fork" icon(same as on the right side of the stack name) to show combined log output of custom container group. This will make possible to get rid of "two dots" at the very bottom of the left panel.
Describe any alternatives you've considered
I tried to use Custom Container Groups (set dev.dozzle.group: monitoring in compose.yml) but it only combines log output into one feed
Another alternative is to use different --project flag in compose. This will add extra logic to make sure I deploy container with proper --project flag.
I see why this is confusing. I originally created custom labels because I wanted multiple containers across multiple hosts to be merged. This wasn't possible in host menu.
I think there are two options here.
- I can read the custom labels and cluster similar to compose files in the host menu. The list of containers would be only the set of containers in that host.
- The other option is to list all containers in custom group section. However, it wouldn't work well given the routing in Dozzle. Clicking of the containers would go to
/container/<id>which wouldn't work in custom group mode. The UI would jump back to host menu.
So it seems like option 1 is the best idea right now. Does that make sense to you? I'll keep thinking about it more though.
- I can read the custom labels and cluster similar to compose files in the host menu. The list of containers would be only the set of containers in that host.
So it seems like option 1 is the best idea right now. Does that make sense to you?
Not sure what a host menu is, but if you mean something like this, then totally yes!
Hi @ZenVoich , @amir20 can i work on this if you guys are not working on this?
That would be great. The file you want to edit is https://github.com/amir20/dozzle/blob/master/assets/components/HostMenu.vue.
It should be pretty easy.
Hi @amir20 , Thank you for considering me. I hope you don't mind me asking—I'm new to Docker and open source, and I would really appreciate it if you could share more details about the project and what needs to be done.
Follow the README and set up dozzle locally by running make dev. Once there, you should be able to make changes to the file above.
If you are not comfortable with docker, typescript, make, and building UI then I won't have time to help you because I might as well implement it myself.
a solid approach to improve clarity without breaking navigation............ even just organizing containers by group within each host panel would already make a big difference for users managing multiple containers
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.