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
services:
ollama:
container_name: ollama
image: ollama/ollama:latest
volumes:
- ollama_data:/root/.ollama
ports:
- "11434:11434"
networks:
- weavegraph
restart: unless-stopped
tty: true
environment:
- OLLAMA_KEEP_ALIVE=24h
- OLLAMA_HOST=0.0.0.0
postgres:
container_name: weavegraph_postgres
image: postgres:18-alpine
environment:
POSTGRES_USER: weavegraph
POSTGRES_PASSWORD: weavegraph
POSTGRES_DB: weavegraph_test
ports:
- "5432:5432"
networks:
- weavegraph
restart: unless-stopped
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test:
interval: 5s
timeout: 5s
retries: 5
volumes:
ollama_data:
postgres_data:
networks:
weavegraph:
name: weavegraph