- {appNameByContainer.get(dep.container)}
+ {dep.name} @{" "}
+
+ {appNameByContainer.get(dep.container) ??
+ "Unknown app"}
+
{dep.image.slice(7, 19)}
diff --git a/src/core/deployment.ts b/src/core/deployment.ts
index 1f73d8a..e5c529c 100644
--- a/src/core/deployment.ts
+++ b/src/core/deployment.ts
@@ -84,6 +84,7 @@ export async function getDeployments(
}
return {
+ name: containerInfo.Name.replace(/^\//, ""),
image: containerInfo.Image,
container: containerInfo.Id,
cpu,
diff --git a/src/lib/types.ts b/src/lib/types.ts
index a7bfac6..0c3465c 100644
--- a/src/lib/types.ts
+++ b/src/lib/types.ts
@@ -58,6 +58,7 @@ export interface Application {
}
export interface Deployment {
+ name: string;
image: string;
container: string;
cpu: number;