-
-
Notifications
You must be signed in to change notification settings - Fork 494
Description
Describe the feature you would like to see
Hello 👋
In v10, a nice little QoL change was added which uses the coolify.resourceName if present as a label on the container to name it in the UI. This works well for applications with just one running container e.g. Dockerfile applications. It is however less than optimal for applications with multiple containers, e.g. a docker compose application. Each container in an application with multiple containers have the label coolify.resourceName, which will be identical to the name of the whole application, so they all show up with the same name in the UI.
An example of how it currently looks in my UI.
Example of coolify labels that can be used for naming, on an application with multiple containers
"coolify.name": "web-dg8oo4gwkssc8ks80wogs44k",
"coolify.resourceName": "monitor-glitchtip",
"coolify.service.subName": "glitchtip-website",
"coolify.service.subType": "application",
"coolify.serviceName": "glitchtip-website",
"coolify.type": "service",Describe how you would like to see this feature implemented
I propose that instead of always defaulting to the coolify.resourceName, it should use the coolify.service.subName instead when present, which is only present in these kind of application types (AFAIK) which are then named individually.
Describe any alternatives you've considered
I think coolify.serviceName would work as well, it appears to function as coolify.service.subName if present, otherwise it is coolify.resourceName.