-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (50 loc) · 1.12 KB
/
Copy pathdocker-compose.yml
File metadata and controls
57 lines (50 loc) · 1.12 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
52
53
54
55
56
57
services:
postgres:
image: pgvector/pgvector:pg16
ports:
- "5432:5432"
environment:
POSTGRES_DB: ragdb
POSTGRES_USER: raguser
POSTGRES_PASSWORD: ragpassword
volumes:
- postgres-data:/var/lib/postgresql/data
- ./db-init:/docker-entrypoint-initdb.d
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER"]
interval: 5s
timeout: 5s
retries: 5
root-config:
build: .
ports: ["9000:9000"]
angular-app:
build: ./angular-app
ports: ["4201:80"]
dashboard:
build: ./dashboard
ports: ["4200:80"]
react-app:
build: ./react-app
ports: ["8080:80"]
backend:
build: ./python-backend
env_file: ./python-backend/app/.env
depends_on:
postgres:
condition: service_healthy
ports: ["8000:8000"]
minio:
image: minio/minio
ports:
- "9001:9000"
- "9002:9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
command: server /data --console-address ":9001"
volumes:
- minio-data:/data
volumes:
postgres-data:
minio-data: