-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (31 loc) · 787 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (31 loc) · 787 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
# ---------------------------
# docker-compose.yml
# ---------------------------
services:
qif-agent:
build: .
command: >
uvicorn app.main:app
--host 0.0.0.0
--port 8000
--log-level info
volumes:
- ./qifs:/qifs:ro # QIF files mounted read-only
- ./db:/db # Database storage
environment:
- QIF_DIR=/qifs
- DB_PATH=/db/transactions.db
- OLLAMA_URL=http://host.docker.internal:11434
ports:
- "8000:8000"
qif-ui:
ports:
- "8501:8501"
depends_on:
- qif-agent
environment:
- STREAMLIT_BROWSER_GATHER_USAGE_STATS=false
- QIF_API_URL=http://qif-agent:8000 # This env will be used in the Streamlit app
build:
context: ./ui
dockerfile: Dockerfile