-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 930 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 930 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
44
services:
mindsdb:
image: mindsdb/mindsdb:latest
container_name: mindsdb
environment:
- MINDSDB_APIS=http,http,mysql,mongodb,postgres,mcp
ports:
- "47334:47334"
- "47335:47335"
- "47336:47336"
- "55432:55432"
- "47337:47337"
depends_on:
- ollama
- pgvector
command: >
sh -c "mindsdb --api-allow '0.0.0.0/0'"
ollama:
image: ollama/ollama:latest
container_name: ollama
ports:
- "11434:11434"
volumes:
- ollama_data:/root/.ollama
restart: unless-stopped
pgvector:
image: agnohq/pgvector:16
container_name: pgvector
environment:
- POSTGRES_DB=ai
- POSTGRES_USER=ai
- POSTGRES_PASSWORD=ai
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- pgvolume:/var/lib/postgresql/data
ports:
- "5532:5432"
restart: unless-stopped
volumes:
ollama_data:
pgvolume: