dozzle icon indicating copy to clipboard operation
dozzle copied to clipboard

Group containers on left panel in compose mode

Open ZenVoich opened this issue 6 months ago • 2 comments

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

Image

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

Image

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.

ZenVoich avatar Jun 02 '25 14:06 ZenVoich

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.

  1. 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.
  2. 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.

amir20 avatar Jun 02 '25 15:06 amir20

  1. 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!

Image

ZenVoich avatar Jun 02 '25 20:06 ZenVoich

Hi @ZenVoich , @amir20 can i work on this if you guys are not working on this?

MaheshS08 avatar Jun 18 '25 12:06 MaheshS08

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.

amir20 avatar Jun 18 '25 13:06 amir20

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.

MaheshS08 avatar Jun 18 '25 14:06 MaheshS08

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.

amir20 avatar Jun 18 '25 14:06 amir20

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

Das-Rabindra avatar Jun 19 '25 11:06 Das-Rabindra

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.

stale[bot] avatar Jul 19 '25 01:07 stale[bot]