summaryrefslogtreecommitdiff
path: root/hetzner-admin/run-command.sh
diff options
context:
space:
mode:
authoryyamashita <yyamashita@hetzner.yyamashita.com>2026-10-31 13:20:27 +0900
committeryyamashita <yyamashita@hetzner.yyamashita.com>2026-10-31 13:20:27 +0900
commitb4ecef96fae14a92d12279927986e69c2e223180 (patch)
tree822b448e7544aa197a9db6efc43f2ddb875eae55 /hetzner-admin/run-command.sh
parent5a55c7893615c5a64856ecca681325a609d1fac0 (diff)
Add status pages, ntfy alerts, and license-slot-checker repo
- status/: lightweight status checker (status.yyamashita.com, /api/status) with ntfy DOWN/recovered alerts after consecutive failures - uptime-kuma/: Uptime Kuma at uptime.yyamashita.com - hetzner-admin: authenticated /status page (status-app results + docker ps -a) - ntfy/: self-hosted ntfy at ntfy.yyamashita.com (deny-all auth, install.sh creates admin user and status-app token) - Caddyfile, DNS, post-receive hook, tests/check.sh, docs updated - license-slot-checker: add to repos.txt, hook, and Claude sessions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'hetzner-admin/run-command.sh')
-rwxr-xr-xhetzner-admin/run-command.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/hetzner-admin/run-command.sh b/hetzner-admin/run-command.sh
index 0ed9fe3..12f96bf 100755
--- a/hetzner-admin/run-command.sh
+++ b/hetzner-admin/run-command.sh
@@ -6,6 +6,9 @@ case "$SSH_ORIGINAL_COMMAND" in
"docker ps")
exec docker ps
;;
+ "docker ps -a --format '{{.Names}}|{{.Status}}'")
+ exec docker ps -a --format '{{.Names}}|{{.Status}}'
+ ;;
"docker compose -f /app/infra/caddy/docker-compose.yml restart")
exec docker compose -f /app/infra/caddy/docker-compose.yml restart
;;