-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.dev.yml
More file actions
66 lines (59 loc) · 1.79 KB
/
Copy pathcompose.dev.yml
File metadata and controls
66 lines (59 loc) · 1.79 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# compose.dev.yml — Development overrides: ports, colbert reranking, ML profile-gating.
# Usage: COMPOSE_FILE=compose.yml:compose.dev.yml docker compose up -d
#
# Docker credentials must come from .env or an explicit --env-file. The make
# targets fall back to tests/fixtures/compose.ci.env when .env is absent.
services:
postgres:
# Local pgvector startup needs these while initializing/fixing ownership on
# the mounted data and runtime directories. Keep this scoped to dev only.
cap_add:
- CHOWN
- FOWNER
- DAC_OVERRIDE
- SETGID
- SETUID
ports:
- "127.0.0.1:5432:5432"
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?POSTGRES_PASSWORD is required}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
redis:
ports:
- "127.0.0.1:6379:6379"
environment:
REDIS_PASSWORD: ${REDIS_PASSWORD:?REDIS_PASSWORD is required}
command: >
redis-server
--requirepass ${REDIS_PASSWORD:?REDIS_PASSWORD is required}
--maxmemory ${REDIS_MAXMEMORY:-512mb}
--maxmemory-policy volatile-lfu
--maxmemory-samples 10
--save ""
--stop-writes-on-bgsave-error no
qdrant:
ports:
- "127.0.0.1:6333:6333"
- "127.0.0.1:6334:6334"
bge-m3:
ports:
- "127.0.0.1:8000:8000"
deploy:
resources:
limits:
memory: ${BGE_M3_MEMORY_LIMIT:-4G}
bot:
profiles: ["bot", "full"]
environment:
RERANK_PROVIDER: colbert
RERANK_CANDIDATES_MAX: "${RERANK_CANDIDATES_MAX:-10}"
COLBERT_TIMEOUT: "${COLBERT_TIMEOUT:-120}"
ingestion:
profiles: ["ingest", "full"]
# loki, alertmanager archived — see archive/obs/
# Langfuse ml stack removed — see #2844