dow-prod-tracker/docker-compose.yml
Leivur Djurhuus 9d5acf1683 feat: add Smart Search Panel with semantic search capabilities
- Implemented Smart Search Panel component for enhanced project and deliverable search functionality.
- Introduced useSemanticSearch and useOllamaHealth hooks for managing search queries and AI availability.
- Developed embedding-service to generate and store vector embeddings for projects and deliverables.
- Created semantic-search-service to handle vector search, structural query detection, and LLM summarization.
- Added support for hybrid search combining structural filters and semantic queries.
- Integrated UI components for displaying search results and user interactions.
2026-03-06 16:13:36 -06:00

47 lines
1.3 KiB
YAML

services:
# ─── PostgreSQL with pgvector ───────────────────────────
db:
image: pgvector/pgvector:pg17
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: hp_prod_tracker
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
# ─── Ollama (local AI embeddings) ──────────────────────
ollama:
image: ollama/ollama:latest
restart: unless-stopped
ports:
- "11434:11434"
volumes:
- ollama_data:/root/.ollama
# ─── Next.js app (production only) ─────────────────────
# Uncomment for deployment. For local dev, run `npm run dev` directly.
# app:
# build: .
# restart: unless-stopped
# ports:
# - "3000:3000"
# environment:
# DATABASE_URL: postgresql://postgres:postgres@db:5432/hp_prod_tracker?schema=public
# OLLAMA_HOST: http://ollama:11434
# OLLAMA_EMBED_MODEL: nomic-embed-text
# NODE_ENV: production
# depends_on:
# db:
# condition: service_healthy
volumes:
pgdata:
ollama_data: