feat : display container port mappings in environment health
Some checks failed
Auto Tag Develop / tag (push) Has been cancelled

Extract exposed ports from docker inspect and show them as badges (hostPort:containerPort)
in the environment health section.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matthieu
2026-04-08 11:27:46 +02:00
parent 123d9b306f
commit ab2b3fd9ef
6 changed files with 52 additions and 4 deletions

View File

@@ -16,6 +16,12 @@ type DashboardResponse = {
applications: DashboardApplication[]
}
type PortMapping = {
hostPort: string
containerPort: string
protocol: string
}
type EnvironmentHealth = {
status: string
version: string
@@ -24,4 +30,5 @@ type EnvironmentHealth = {
memoryUsage: string
memoryLimit: string
memoryPercent: number
ports: PortMapping[]
}