forked from collabnix/mindsdb-docker-extension
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
34 lines (32 loc) · 848 Bytes
/
docker-compose.yaml
File metadata and controls
34 lines (32 loc) · 848 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
services:
mindsdb:
image: mindsdb/mindsdb:v26.0.1
ports:
- "47334:47334"
- "47335:47335"
volumes:
- data:/opt/mindsdb/data
- config:/opt/mindsdb/config
container_name: mindsdb_service
pull_policy: always
environment:
MINDSDB_DB_CON: "postgresql://postgres:postgres@pgvector/mindsdb"
KB_PGVECTOR_URL: "postgresql://postgres:postgres@pgvector/kb"
pgvector:
image: mindsdb/mindsdb-docker-extension-pgvector:latest
container_name: pgvector_service
volumes:
- data_pg:/var/lib/postgresql/data
environment:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
POSTGRES_DB: "mindsdb"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 10
volumes:
data:
config:
data_pg: