agentsclimarketplace

Docker templates

Skill yihui504/TestVDB/skills/docker-templates

TestVDB Docker 容器模板参考。当 Executor Agent 需要启动目标向量数据库容器时自动加载。From its SKILL.md

Install
npx -y skills add yihui504/TestVDB --skill docker-templates

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.6 KB, as published. Nobody here has run it

Docker Templates Reference

触发条件

Docker Executor Agent 需要启动目标 DB 容器时自动加载。非用户手动触发。

模板概览

TemplateFileContainersComplexity
Milvusdocker/milvus.yml3 (etcd + MinIO + standalone)High
Qdrantdocker/qdrant.yml1Low
Weaviatedocker/weaviate.yml1Low
PGVectordocker/pgvector.yml1Low

版本覆盖

通过环境变量覆盖默认版本:

export MILVUS_VERSION="v2.4.0"
export QDRANT_VERSION="v1.13.0"
export WEAVIATE_VERSION="1.25.0"
export PGVECTOR_VERSION="pg17"

端口配置

通过环境变量覆盖默认端口:

export MILVUS_PORT="19530"
export MILVUS_GRPC_PORT="19531"
export QDRANT_PORT="6333"
export QDRANT_GRPC_PORT="6334"
export WEAVIATE_PORT="8080"
export WEAVIATE_GRPC_PORT="50051"
export PGVECTOR_PORT="5432"

启动命令

# Milvus (most complex — requires etcd + MinIO first)
docker compose -f docker/milvus.yml up -d
# Wait ~60s for all 3 services to be healthy

# Qdrant
docker compose -f docker/qdrant.yml up -d
# Wait ~15s

# Weaviate
docker compose -f docker/weaviate.yml up -d
# Wait ~15s

# PGVector
docker compose -f docker/pgvector.yml up -d
# Wait ~10s

健康检查

DBHealth EndpointExpected
Milvuscurl -f http://localhost:9091/healthz{...}, exit 0
Qdrantcurl -f http://localhost:6333/healthzhealthz check passed, exit 0
Weaviatecurl -f http://localhost:8080/v1/.well-known/ready—, exit 0
PGVectorpg_isready -U postgres -d testvdbaccepting connections

启动超时

DBMax WaitNotes
Milvus120setcd + MinIO + standalone all need to be healthy
Qdrant30sSingle container, fast
Weaviate30sSingle container
PGVector20sPostgreSQL initialization

清理

# Normal cleanup
docker compose -f docker/{db}.yml down -v

# Emergency cleanup
docker rm -f testvdb-{db}-standalone testvdb-{db}-etcd testvdb-{db}-minio

SDK 隔离

每个 DB 容器只安装其对应 SDK,禁止交叉污染:

DBSDKInstall Command
Milvuspymilvuspip install pymilvus
Qdrantqdrant-clientpip install qdrant-client
Weaviateweaviate-clientpip install weaviate-client
PGVectorpgvector + psycopg2pip install pgvector psycopg2-binary

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.