From b4ecef96fae14a92d12279927986e69c2e223180 Mon Sep 17 00:00:00 2001 From: yyamashita Date: Sat, 31 Oct 2026 13:20:27 +0900 Subject: 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 --- status/docker-compose.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 status/docker-compose.yml (limited to 'status/docker-compose.yml') diff --git a/status/docker-compose.yml b/status/docker-compose.yml new file mode 100644 index 0000000..e150751 --- /dev/null +++ b/status/docker-compose.yml @@ -0,0 +1,20 @@ +services: + status: + build: . + container_name: status-app + restart: unless-stopped + # ディレクトリごとマウント(git checkout でファイルが差し替わっても追従できる)。 + # targets.txt はチェックのたびに再読込されるので push だけで反映される。 + volumes: + - ./:/app/conf:ro + environment: + - TARGETS_FILE=/app/conf/targets.txt + # NTFY_URL / NTFY_TOKEN(ntfy/install.sh が生成) + env_file: .env + networks: + - web + +networks: + web: + external: true + name: web -- cgit v1.3