fix(services): keep Traefik subtype from stored service type

Label service apps as application even after the compose image looks like a database. Do not auto-heal existing deployments.
This commit is contained in:
Andras Bacsai
2026-09-13 21:09:01 +02:00
parent 7d11bc92f7
commit 59eacc9ff8
3 changed files with 40 additions and 1 deletions
+1 -1
View File
@@ -2546,7 +2546,7 @@ function serviceParser(Service $resource): Collection
projectName: $resource->project()->name,
resourceName: $resource->name,
type: 'service',
subType: $isDatabase ? 'database' : 'application',
subType: $savedService instanceof ServiceDatabase ? 'database' : 'application',
subId: $savedService->id,
subName: $savedService->human_name ?? $savedService->name,
environment: $resource->environment->name,