ваше сообщение коммита

This commit is contained in:
2025-07-03 21:54:00 +03:00
parent 11cf0ea353
commit 972553dbb1
21 changed files with 1435 additions and 176 deletions

View File

@@ -38,6 +38,28 @@ services:
ports:
- '11434:11434'
command: serve
vector-search:
build:
context: ./vector-search
dockerfile: Dockerfile
container_name: dapp-vector-search
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
depends_on:
ollama:
condition: service_started
volumes:
- ./vector-search:/app
- vector_search_data:/app/data
environment:
- OLLAMA_BASE_URL=http://ollama:11434
- OLLAMA_EMBED_MODEL=${OLLAMA_EMBEDDINGS_MODEL:-mxbai-embed-large:latest}
ports:
- '8001:8001'
backend:
build:
context: ./backend
@@ -54,6 +76,8 @@ services:
condition: service_healthy
ollama:
condition: service_started
vector-search:
condition: service_started
volumes:
- ./backend:/app
- ./frontend/dist:/app/frontend_dist:ro
@@ -73,6 +97,7 @@ services:
- OLLAMA_MODEL=${OLLAMA_MODEL:-qwen2.5:7b}
- OLLAMA_EMBEDDINGS_MODEL=${OLLAMA_EMBEDDINGS_MODEL:-qwen2.5:7b}
- FRONTEND_URL=http://localhost:5173
- VECTOR_SEARCH_URL=http://vector-search:8001
ports:
- '8000:8000'
extra_hosts:
@@ -127,3 +152,4 @@ volumes:
ollama_data: null
backend_node_modules: null
frontend_node_modules: null
vector_search_data: null