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>
14 lines
562 B
YAML
14 lines
562 B
YAML
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.)
|