Fix: recognise a stack's own running ports on re-deploy (0.21.2)

Port-conflict check now matches the stack's own containers via the
compose project label instead of a fragile container-name prefix, so
editing + deploying a running stack no longer reports false conflicts
(explicit container_name or '_' name separator).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
menzelj
2026-06-08 16:31:52 +00:00
co-authored by Claude Opus 4.8
parent bb29ef1c98
commit f65ec5f268
2 changed files with 22 additions and 7 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ async def lifespan(app: FastAPI):
schedule_task.cancel()
app = FastAPI(title="StackPilot", version="0.21.1", lifespan=lifespan)
app = FastAPI(title="StackPilot", version="0.21.2", lifespan=lifespan)
app.add_middleware(
CORSMiddleware,