Builds PaperTrail from the base skeleton into a full evidence-verification platform for the "Built with Claude: Life Sciences" hackathon (Builder Track). New named-user features (Build Beyond the Bench): - Lab Notebook Companion — rough bench notes -> structured, searchable, grounded experiment records (lib/labNotebook, /console/lab-notebook, migration 0059) - Clinical Trial Matcher — de-identified patient notes -> ranked eligible ClinicalTrials.gov trials with per-criterion inclusion/exclusion reasoning (lib/trialMatcher, /console/trial-matcher, migrations 0060) Platform: - Deterministic verification moat (biostats recompute, exact-span grounding) - 11 biomedical evidence engines (FAERS, GWAS, Open Targets, ChEMBL, ClinVar, PharmGKB, PubTator, DDI, repurposing, biomarker, unified verifier) - Evidence Intelligence (KG, dossier, provenance/export, RWE) + enterprise governance (RBAC, /api/v1 gateway, metering, audit chain, retention) - 17 OSS projects assimilated into native TypeScript on our stack (backend/engines retained + credited in NOTICE) - Multi-format upload (PDF/DOCX/XLSX/CSV/MD/TXT), logo, marketing site - Next.js 16 upgrade, benchmark harness (honest smoke-test caveat) Licensing: Apache-2.0 (LICENSE + NOTICE).
54 lines
2.0 KiB
YAML
54 lines
2.0 KiB
YAML
services:
|
|
web:
|
|
image: valsci:latest
|
|
container_name: valsci-web
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- FLASK_APP=run.py
|
|
# Edit the config file inside a bind-mounted directory (not a single-file
|
|
# bind mount) so the Settings page can rewrite it via atomic rename.
|
|
- VALSCI_ENV_FILE=/valsci/runtime_config/env_vars.json
|
|
# Lets the container reach host services (e.g. a host-run Ollama) at
|
|
# http://host.docker.internal:<port>. Auto-provided on Docker Desktop;
|
|
# this mapping makes it work on Linux hosts too.
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
volumes:
|
|
# Mount the host config directory (which holds env_vars.json) to a path that
|
|
# does not shadow the image's baked code. Directory mounts allow the atomic
|
|
# rewrite the Settings page needs; a single-file bind mount does not.
|
|
- ./app/config:/valsci/runtime_config
|
|
- ./semantic_scholar/manifests:/valsci/semantic_scholar/manifests:ro
|
|
- semantic_scholar_data:/valsci/semantic_scholar/datasets
|
|
- valsci_state:/valsci/state
|
|
- queued_jobs:/valsci/queued_jobs
|
|
- saved_jobs:/valsci/saved_jobs
|
|
restart: unless-stopped
|
|
|
|
processor:
|
|
image: valsci:latest
|
|
container_name: valsci-processor
|
|
command: python processor.py
|
|
environment:
|
|
# Same config file as the web service so live edits (and the processor's
|
|
# auto-reload of them) share one source of truth.
|
|
- VALSCI_ENV_FILE=/valsci/runtime_config/env_vars.json
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
volumes:
|
|
- ./app/config:/valsci/runtime_config
|
|
- ./semantic_scholar/manifests:/valsci/semantic_scholar/manifests:ro
|
|
- semantic_scholar_data:/valsci/semantic_scholar/datasets
|
|
- valsci_state:/valsci/state
|
|
- queued_jobs:/valsci/queued_jobs
|
|
- saved_jobs:/valsci/saved_jobs
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- web
|
|
|
|
volumes:
|
|
semantic_scholar_data:
|
|
valsci_state:
|
|
queued_jobs:
|
|
saved_jobs: |