summaryrefslogtreecommitdiff
path: root/status/docker-compose.yml
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 /status/docker-compose.yml
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 'status/docker-compose.yml')
-rw-r--r--status/docker-compose.yml20
1 files changed, 20 insertions, 0 deletions
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