-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (47 loc) · 1.11 KB
/
Copy pathdocker-compose.yml
File metadata and controls
51 lines (47 loc) · 1.11 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
name: support-platform
services:
postgres:
image: postgres:16-alpine
container_name: support-postgres
environment:
POSTGRES_USER: support
POSTGRES_PASSWORD: support
POSTGRES_DB: support_platform
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U support -d support_platform"]
interval: 5s
timeout: 5s
retries: 5
restart: unless-stopped
qdrant:
image: qdrant/qdrant:v1.13.0
container_name: support-qdrant
ports:
- "6333:6333"
- "6334:6334"
volumes:
- qdrant-data:/qdrant/storage
restart: unless-stopped
app:
build:
context: .
dockerfile: Dockerfile
container_name: support-app
env_file: .env
environment:
APP_POSTGRES_DSN: postgresql+asyncpg://support:support@postgres:5432/support_platform
ports:
- "8000:8000"
depends_on:
postgres:
condition: service_healthy
qdrant:
condition: service_started
restart: unless-stopped
volumes:
postgres-data:
qdrant-data: