feat(ui): add action buttons to Docker, Git, systemd, and Caddy modules
- Docker table: Restart and Stop buttons per container row (docker_compose_restart / docker_compose_stop) - Git repos list: Fetch and Pull buttons per repo; Pull disabled when working tree is dirty - systemd units list: Restart button per unit (systemctl_restart) - Caddy: Edit link on /caddy page, new /caddy/edit page with textarea + 3-step Validate → Save+Reload flow - All buttons open ConfirmDialog with exact agent-call preview, then stream output via StreamingTerminal - Add docker_compose_stop to ops-agent/commands.yml.example Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b74cf3d75f
commit
3781fce1e2
8 changed files with 1019 additions and 2 deletions
|
|
@ -85,6 +85,18 @@ commands:
|
|||
- postgres
|
||||
description: "Restart a docker compose service (ops-agent user must be in the docker group)"
|
||||
|
||||
docker_compose_stop:
|
||||
cmd: ["docker", "compose", "stop"]
|
||||
cwd: "/srv/scrum4me/compose"
|
||||
args:
|
||||
allowed:
|
||||
- scrum4me-web
|
||||
- worker-idea
|
||||
- ops-dashboard
|
||||
- caddy
|
||||
- postgres
|
||||
description: "Stop a docker compose service"
|
||||
|
||||
docker_compose_build:
|
||||
cmd: ["docker", "compose", "build"]
|
||||
cwd: "/srv/scrum4me/compose"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue