88c1ea297e
All feature containers now POST messages to ai-service (port 8010) instead of calling AI providers directly. ai-service routes to LM Studio, Ollama, or Anthropic based on /config/ai_service_config.json. doc-service AI providers removed; replaced by httpx ai_client.py. Backend settings restructured to /api/settings/ai. Frontend gets dedicated AIAdminSettingsPage and AI Service card in AppsPage. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
37 lines
939 B
YAML
37 lines
939 B
YAML
# Development overrides — hot reload for backend and frontend
|
|
# Usage: docker compose -f docker-compose.yml -f docker-compose.dev.yml up --build
|
|
|
|
services:
|
|
|
|
backend:
|
|
user: "1001:1001"
|
|
command: sh scripts/start_dev.sh
|
|
volumes:
|
|
- ./backend:/app
|
|
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
target: builder # stop at the Node stage, skip nginx
|
|
user: "1001:1001"
|
|
command: npm run dev -- --host 0.0.0.0
|
|
ports:
|
|
- "5173:5173"
|
|
environment:
|
|
VITE_API_TARGET: http://backend:8000
|
|
volumes:
|
|
- ./frontend:/app
|
|
- /app/node_modules
|
|
|
|
ai-service:
|
|
command: sh scripts/start_dev.sh
|
|
env_file: ./features/ai-service/.env # gitignored — holds LM Studio / AI credentials
|
|
volumes:
|
|
- ./features/ai-service:/app
|
|
|
|
doc-service:
|
|
command: sh scripts/start_dev.sh
|
|
env_file: ./features/doc-service/.env
|
|
volumes:
|
|
- ./features/doc-service:/app
|