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>
This commit is contained in:
2026-07-28 14:11:47 -07:00
co-authored by Claude
parent 8da63db701
commit 7db45049dc
2 changed files with 39 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
services:
benchmark:
# Builds from the repo's Dockerfile:
# stage 1 (python) runs generate_dashboard.py from data/benchmark_history.json
# stage 2 (nginx) serves dashboard.html + pages/ as static
build: .
image: llm-benchmark:latest
container_name: llm-benchmark
restart: unless-stopped
ports:
- "0.0.0.0:8081:80" # bind all interfaces:8081 -> container :80
# Re-tag the image so `docker compose up` after a code change rebuilds it.
# (compose detects Dockerfile/context changes and rebuilds automatically.)