-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
52 lines (50 loc) · 2.1 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
52 lines (50 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
services:
operations-memory-postgres:
build:
context: ./docker/postgres-vchord
args:
VCHORD_SUITE_IMAGE: ghcr.io/tensorchord/vchord-suite:pg18-latest
image: operations-memory-postgres-vchord:pg18
environment:
POSTGRES_USER: operations_memory
POSTGRES_PASSWORD: password
POSTGRES_DB: operations_memory
ports:
- "5432:5432"
volumes:
- operations-memory-db-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U operations_memory -d operations_memory"]
interval: 5s
timeout: 5s
retries: 20
# Standalone Operations Memory server, backed by the Postgres above.
# Run: docker compose up -d operations-memory-postgres operations-memory
operations-memory:
build:
context: .
dockerfile: docker/operations-memory/Dockerfile
image: operations-memory-go:local
environment:
OPS_MEMORY_DATABASE_URL: postgresql://operations_memory:password@operations-memory-postgres:5432/operations_memory
OPS_MEMORY_MCP_ENABLED: "true"
OPS_MEMORY_HOST: "0.0.0.0"
OPS_MEMORY_PORT: "8888"
OPS_MEMORY_FEATURE_BANKS: "true"
OPS_MEMORY_STORAGE_PROFILE: vchord
OPS_MEMORY_EMBEDDINGS_PROVIDER: ${OPS_MEMORY_EMBEDDINGS_PROVIDER:-openai}
OPS_MEMORY_EMBEDDINGS_OPENAI_API_KEY: ${OPS_MEMORY_EMBEDDINGS_OPENAI_API_KEY:-}
OPS_MEMORY_EMBEDDINGS_OPENAI_BASE_URL: ${OPS_MEMORY_EMBEDDINGS_OPENAI_BASE_URL:-https://llm-gateway.centralcloud.com/v1}
OPS_MEMORY_EMBEDDINGS_OPENAI_MODEL: ${OPS_MEMORY_EMBEDDINGS_OPENAI_MODEL:-qwen/qwen3-embedding-4b}
OPS_MEMORY_EMBEDDINGS_OPENAI_DIMENSIONS: ${OPS_MEMORY_EMBEDDINGS_OPENAI_DIMENSIONS:-}
OPS_MEMORY_RERANK_OPENAI_BASE_URL: ${OPS_MEMORY_RERANK_OPENAI_BASE_URL:-https://llm-gateway.centralcloud.com/v1}
OPS_MEMORY_RERANK_MODEL: ${OPS_MEMORY_RERANK_MODEL:-qwen/qwen3-reranker-4b}
OPS_MEMORY_VECTOR_EXTENSION: vchord
OPS_MEMORY_TEXT_SEARCH_EXTENSION: vchord
ports:
- "8888:8888"
depends_on:
operations-memory-postgres:
condition: service_healthy
volumes:
operations-memory-db-data: