-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 1.16 KB
/
Copy pathdocker-compose.yml
File metadata and controls
40 lines (38 loc) · 1.16 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
# Retired 2026-07-20: DB migrated to the shared Postgres instance at /srv/md0/postgres
# (see /srv/md0/postgres/CREDENTIALS.md). Do not `docker compose up` this file -
# it would resurrect a stale copy of the database on the old volume.
services:
postgres:
image: postgres:16-alpine
restart: unless-stopped
ports:
- "127.0.0.1:5437:5432"
environment:
POSTGRES_DB: curator
POSTGRES_USER: curator
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- curator_pg_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U curator -d curator"]
interval: 5s
timeout: 5s
retries: 5
qdrant:
image: qdrant/qdrant:v1.13.6
restart: unless-stopped
ports:
- "127.0.0.1:6333:6333"
- "127.0.0.1:6334:6334"
environment:
QDRANT__SERVICE__API_KEY: ${QDRANT_API_KEY}
volumes:
- curator_qdrant_data:/qdrant/storage
healthcheck:
test: ["CMD-SHELL", "curl -sf -H \"api-key: $$QDRANT__SERVICE__API_KEY\" http://localhost:6333/healthz || exit 1"]
interval: 10s
timeout: 5s
retries: 3
volumes:
curator_pg_data:
curator_qdrant_data: