feat(deploy): async compose-up for instant UI feedback (v0.28.2)

Deploy API now returns immediately after validation + config save.
docker compose up -d runs in a background goroutine so the UI shows
progress during image pulls instead of blocking for 30-60s.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-23 12:08:08 +01:00
parent 4a6ab4d61c
commit 563cf07ec8
6 changed files with 70 additions and 16 deletions
+4 -2
View File
@@ -38,7 +38,7 @@ func (s *Server) templateFuncMap() template.FuncMap {
switch state {
case stacks.StateRunning:
return "green"
case stacks.StateStarting:
case stacks.StateStarting, stacks.StateDeploying:
return "orange"
case stacks.StateUnhealthy:
return "yellow"
@@ -56,6 +56,8 @@ func (s *Server) templateFuncMap() template.FuncMap {
return "Fut"
case stacks.StateStarting:
return "Indulás..."
case stacks.StateDeploying:
return "Telepítés..."
case stacks.StateUnhealthy:
return "Nem egészséges"
case stacks.StateStopped, stacks.StateExited:
@@ -74,7 +76,7 @@ func (s *Server) templateFuncMap() template.FuncMap {
switch state {
case stacks.StateRunning:
return "●"
case stacks.StateStarting:
case stacks.StateStarting, stacks.StateDeploying:
return "◐"
case stacks.StateUnhealthy:
return "◑"