mirror of
https://github.com/Dasemu/remote-mcp-manager.git
synced 2026-11-26 23:36:31 +00:00
feat: add start/stop/restart controls and explain build vs deploy in the panel
Start/stop/restart act on the existing container instead of recreating it. Docker's 304 (already started/stopped) is treated as success. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0d38b3950c
commit
a999b8c694
8 files changed
+222
No files matched your search
@@ -53,6 +53,9 @@ export const api = {
|
||||
deploy: (id: string) => request<Installation>(`/api/installations/${id}/deploy`, { method: "POST" }),
|
||||
redeploy: (id: string, rebuild: boolean) =>
|
||||
request<Installation>(`/api/installations/${id}/redeploy`, { method: "POST", body: JSON.stringify({ rebuild }) }),
|
||||
start: (id: string) => request<Installation>(`/api/installations/${id}/start`, { method: "POST" }),
|
||||
stop: (id: string) => request<Installation>(`/api/installations/${id}/stop`, { method: "POST" }),
|
||||
restart: (id: string) => request<Installation>(`/api/installations/${id}/restart`, { method: "POST" }),
|
||||
regenerateToken: (id: string) =>
|
||||
request<{ bearerToken: string }>(`/api/installations/${id}/regenerate-token`, { method: "POST" }),
|
||||
remove: (id: string) => request<void>(`/api/installations/${id}`, { method: "DELETE" }),
|
||||
|
||||
Reference in new issue
Block a user