Based on manvalan/pinscope main. Default LLM is DeepSeek with local skills and PDF ingest. Datasheets are fetched from LCSC/TI, stored in the component library, and review extracts abs-max with a deeper checklist. Adds scripts/update-pinscope.sh for the production host.
52 lines
842 B
YAML
52 lines
842 B
YAML
services:
|
|
|
|
backend:
|
|
build:
|
|
context: .
|
|
dockerfile: backend/Dockerfile
|
|
|
|
container_name: pinscope-backend
|
|
restart: unless-stopped
|
|
|
|
env_file:
|
|
- .env
|
|
|
|
environment:
|
|
DEEPSEEK_API_KEY: ${DEEPSEEK_API_KEY}
|
|
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY:-}
|
|
GEMINI_API_KEY: ${GEMINI_API_KEY:-}
|
|
|
|
volumes:
|
|
- ./data:/app/data
|
|
- ./taxonomy:/app/taxonomy
|
|
|
|
ports:
|
|
- "8080:8080"
|
|
|
|
networks:
|
|
- pinscope
|
|
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: dockerfile
|
|
args:
|
|
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:8080}
|
|
|
|
container_name: pinscope-frontend
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
- backend
|
|
|
|
ports:
|
|
- "3000:3000"
|
|
|
|
networks:
|
|
- pinscope
|
|
|
|
|
|
networks:
|
|
pinscope:
|
|
driver: bridge
|