-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (44 loc) · 1.14 KB
/
Copy pathdocker-compose.yml
File metadata and controls
46 lines (44 loc) · 1.14 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
services:
postgres:
image: pgvector/pgvector:pg16
environment:
POSTGRES_USER: recruit
POSTGRES_PASSWORD: recruit
POSTGRES_DB: recruit_ai
ports:
- "5432:5432"
volumes:
- "${RECRUIT_DATA_ROOT:-./.runtime/data}/postgres:/var/lib/postgresql/data"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U recruit -d recruit_ai"]
interval: 5s
timeout: 3s
retries: 20
redis:
image: valkey/valkey:8-alpine
command: valkey-server --appendonly yes
ports:
- "6379:6379"
volumes:
- "${RECRUIT_DATA_ROOT:-./.runtime/data}/redis:/data"
healthcheck:
test: ["CMD", "valkey-cli", "ping"]
interval: 5s
timeout: 3s
retries: 20
minio:
image: minio/minio:latest
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: recruit
MINIO_ROOT_PASSWORD: recruit-password
ports:
- "9000:9000"
- "9001:9001"
volumes:
- "${RECRUIT_DATA_ROOT:-./.runtime/data}/object-storage:/data"
healthcheck:
test: ["CMD", "mc", "ready", "local"]
interval: 5s
timeout: 3s
retries: 20