chore(bench): 补 .dockerignore 忽略项,bench 容器不再挂持久化卷
This commit is contained in:
1 parent
edbc296e29
commit
3480760d4e
3 files changed
+8
-3
No files matched your search
@@ -7,3 +7,10 @@ server/webui/dist
|
|||||||
data
|
data
|
||||||
*.db
|
*.db
|
||||||
transcripts
|
transcripts
|
||||||
|
bench/kv
|
||||||
|
bench/debug
|
||||||
|
bench/__pycache__
|
||||||
|
bench/.env
|
||||||
|
bench/scheduler.py
|
||||||
|
bench/entrypoint_v2.sh
|
||||||
|
bench/seed_v2.sh
|
||||||
+1
-1
@@ -57,4 +57,4 @@ Thumbs.db
|
|||||||
# bench 基准测试相关(本地产物,不提交)
|
# bench 基准测试相关(本地产物,不提交)
|
||||||
/bench/
|
/bench/
|
||||||
/Dockerfile.bench
|
/Dockerfile.bench
|
||||||
/Dockerfile.bench.v2
|
/Dockerfile.bench.v2
|
||||||
@@ -21,8 +21,6 @@ services:
|
|||||||
# host 模式下不用 ports 映射,容器直接绑宿主端口:8787(UI/API)、8788(代理)、
|
# host 模式下不用 ports 映射,容器直接绑宿主端口:8787(UI/API)、8788(代理)、
|
||||||
# 以及内部 PostgreSQL 5432 —— 请确保宿主这三个端口空闲(本地测前先停掉占用它们的服务)。
|
# 以及内部 PostgreSQL 5432 —— 请确保宿主这三个端口空闲(本地测前先停掉占用它们的服务)。
|
||||||
network_mode: host
|
network_mode: host
|
||||||
volumes:
|
|
||||||
- artex_bench_data:/app/data # jwt.key 等持久化(一次性沙箱可不留)
|
|
||||||
restart: "no"
|
restart: "no"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in new issue
Block a user