summaryrefslogtreecommitdiff
path: root/hetzner-admin/deploy.sh
diff options
context:
space:
mode:
authoryyamashita <yyamashita@hetzner.yyamashita.com>2026-06-19 13:39:27 +0900
committeryyamashita <yyamashita@hetzner.yyamashita.com>2026-06-19 13:39:27 +0900
commit50e887cb22ca375e66f7948033e05f596c9f43f5 (patch)
tree20ee5aeac8ec69f3f4b23c53ef407f6e62a8d71f /hetzner-admin/deploy.sh
parenta7890e22d52677de267e0d4c79f2c7627f3a96c4 (diff)
Add hetzner-admin: SSH-based server management web UI
Basic Auth protected web UI with buttons to restart services and reboot. SSH key with authorized_keys command= restriction limits executable commands. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'hetzner-admin/deploy.sh')
-rwxr-xr-xhetzner-admin/deploy.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/hetzner-admin/deploy.sh b/hetzner-admin/deploy.sh
new file mode 100755
index 0000000..276b188
--- /dev/null
+++ b/hetzner-admin/deploy.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+set -euo pipefail
+cd "$(dirname "$0")"
+docker compose up -d --build