-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (42 loc) · 887 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (42 loc) · 887 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
45
46
47
version: "3.9"
services:
backend:
build: ./backend
ports:
- "8000:8000"
environment:
- OLLAMA_BASE_URL=http://ollama:11434
- OLLAMA_MODEL=llama3:8b-instruct-q4_0
- REDIS_URL=redis://redis:6379
- DATA_PATH=/data/retail_store_inventory.csv
- DEBUG=false
volumes:
- ./data:/data:ro
depends_on:
- ollama
- redis
restart: unless-stopped
ollama:
image: ollama/ollama:latest
ports:
- "11434:11434"
volumes:
- ollama_data:/root/.ollama
restart: unless-stopped
redis:
image: redis:7-alpine
ports:
- "6379:6379"
restart: unless-stopped
frontend:
build:
context: ./frontend
args:
- VITE_API_URL=http://localhost:8000/api/v1
ports:
- "3000:80"
depends_on:
- backend
restart: unless-stopped
volumes:
ollama_data: