-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.infra.yml
More file actions
43 lines (39 loc) · 1018 Bytes
/
Copy pathdocker-compose.infra.yml
File metadata and controls
43 lines (39 loc) · 1018 Bytes
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
# docker-compose.infra.yml — Infrastructure only (Postgres, Redis, Qdrant)
# Usage: docker compose -f docker-compose.infra.yml up -d
services:
postgres:
image: postgres:16-alpine
container_name: finsight-postgres
environment:
POSTGRES_DB: finsight
POSTGRES_USER: finsight
POSTGRES_PASSWORD: finsight_dev
ports: ["5432:5432"]
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U finsight"]
interval: 5s
retries: 5
redis:
image: redis:7-alpine
container_name: finsight-redis
ports: ["6379:6379"]
volumes:
- redisdata:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
retries: 5
qdrant:
image: qdrant/qdrant:v1.12.1
container_name: finsight-qdrant
ports: ["6333:6333", "6334:6334"]
volumes:
- qdrantdata:/qdrant/storage
environment:
QDRANT__SERVICE__GRPC_PORT: 6334
volumes:
pgdata:
redisdata:
qdrantdata: