Files
ARTEX/docker-compose.bench.yml
BaaRai e233c02314 Translate all Chinese text to English
Comments, doc comments, UI labels, log and error messages, LLM prompt
strings, markdown docs, test data and assertions. Identifiers, enum
keys, routes, placeholders and code structure are unchanged.

Notes:
- docs/漏洞流量证据.md renamed to docs/vulnerability-traffic-evidence.md
- tests that exercised CJK specific handling (GBK zip names, Chinese
  full text search) now use ASCII equivalents; go build passes and the
  test suite matches the pre translation baseline (remaining failures
  need a PostgreSQL DSN and fail identically on the original)
- frontend mention syntax now uses English kinds (finding, asset, ...)
  matching the backend, chat mentions tests pass
2026-10-08 23:14:34 +02:00

28 lines
1.3 KiB
YAML

# ARTEX Tencent TSec Benchmark evaluation image — one-command local build + run.
# Independent of the production docker-compose.yml (multi-service: artex+postgres).
# Usage:
# cp bench/.env.example bench/.env # fill in LLM_API_KEY / BENCHMARK_TOKEN etc.
# docker compose -f docker-compose.bench.yml up --build # build and run in the foreground (watch logs)
# docker compose -f docker-compose.bench.yml up --build -d # background
# docker compose -f docker-compose.bench.yml logs -f
# docker compose -f docker-compose.bench.yml down # stop (add -v to also delete the data volume)
# Browser: http://localhost:8787 (log in with ADMIN_PASSWORD)
services:
artex-bench:
build:
context: .
dockerfile: Dockerfile.bench
image: artex-bench:latest
container_name: artex-bench
env_file:
- bench/.env
# Shares the network with the physical machine: the container uses the host network stack directly and can reach the target machine network on the host/VPN.
# In host mode no ports mapping is needed; the container binds host ports directly: 8787 (UI/API), 8788 (proxy),
# and the internal PostgreSQL 5432 — make sure these three host ports are free (stop any local services occupying them before testing).
network_mode: host
restart: "no"
volumes:
artex_bench_data: