-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 841 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (37 loc) · 841 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
services:
postgres:
image: postgres:16-alpine
container_name: stayquery-postgres
environment:
POSTGRES_DB: stayquery
POSTGRES_USER: stayquery
POSTGRES_PASSWORD: stayquery
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U stayquery -d stayquery"]
interval: 5s
timeout: 5s
retries: 12
volumes:
- postgres-data:/var/lib/postgresql/data
qdrant:
image: qdrant/qdrant:v1.12.4
container_name: stayquery-qdrant
ports:
- "6333:6333"
- "6334:6334"
healthcheck:
test:
[
"CMD-SHELL",
"bash -c ':> /dev/tcp/127.0.0.1/6333' || exit 1"
]
interval: 5s
timeout: 5s
retries: 12
volumes:
- qdrant-data:/qdrant/storage
volumes:
postgres-data:
qdrant-data: