Commit Graph
7 Commits
Author SHA1 Message Date
adminandClaude 4056470a46 Docs: record docker-compose + webhook deploy architecture in CLAUDE.md
Includes the self-revert trap warning (git reset --hard in redeploy
wipes uncommitted deploy files).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-28 14:29:17 -07:00
adminandClaude a93fe6f15e Add Authorization-header + /hook proxy to webhook/deploy
webhook.py: check_auth() requires Bearer token (WEBHOOK_AUTH_TOKEN),
  checked before HMAC signature. Returns 401 on missing auth.
Dockerfile: nginx proxies /hook -> host:41798, forwarding Authorization
  + X-Gitea-Signature headers. Host IP via HOST_IP env + host-gateway.
docker-compose.yml: extra_hosts host-gateway + HOST_IP env.
deploy-webhook.sh: generates .webhook.auth token, 'auth' subcommand.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-28 14:28:16 -07:00
adminandClaude b97658e067 Add Gitea-push webhook for auto-deploy
webhook.py: HMAC-signed receiver (X-Gitea-Signature), validates ref==main,
  one-concurrent-deploy lock, no request data reaches shell.
deploy-webhook.sh: installs llm-bench-webhook systemd service (runs as
  aygea, in docker group), generates + stores secret in .webhook.secret.
deploy.sh: port read from compose (now 31415).

Installed on mewtwo: listening 0.0.0.0:41798, enabled for boot.
Gitea webhook target: http://10.0.0.22:41798/hook

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-28 14:20:03 -07:00
adminandClaude 42291f61b8 Switch host port to 31415 (obscure; keep low ports free)
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-28 14:13:04 -07:00
adminandClaude 7db45049dc Add docker-compose + deploy.sh (Coolify replacement)
Run on mewtwo: bound 0.0.0.0:8081 -> nginx :80.
Rebuilds site from source on every 'deploy.sh up' so new grades
flow through without Coolify. Point Netbird at http://<host>:8081.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-28 14:11:47 -07:00
adminandClaude 8da63db701 Docs: CLAUDE.md deploy notes, README, DEPLOY.md, Dockerfile
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-28 14:01:43 -07:00
adminandClaude f0281f2878 Initial benchmark suite: 8 graded models + cyberpunk dashboard generator
- prompts/: LFU cache exam + 5-pillar grading rubric
- outputs/: 8 model .py outputs (local + cloud baseline)
- data/benchmark_history.json: graded results (scores, metrics, bugs, patches)
- generate_dashboard.py: builds dashboard.html + pages/*.html from JSON
- Dockerfile + DEPLOY.md: Gitea→Coolify deploy (build-step, nginx static)
- .gitignore: generated HTML excluded (built on deploy)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-28 14:00:40 -07:00