Add a Docker image and separate Compose projects for development and production, based on the stable main behaviour without the privacy gateway. Nothing is wired into the existing systemd deploy workflow. - One non-root image (api | ui | preflight), base image pinned by digest, dependencies from a hash-locked universal lock without torch and sentence-transformers (MiniLM is not on the runtime path) - Preflight aborts on: VECTOR_DIM != 768 or non-nomic embedding profile, implicit or cross-env collection prefix, cloud keys without explicit egress acknowledgement, missing/empty or writable vault mount - Vault is a read-only NAS bind mount without host-path autocreation; healthcheck turns unhealthy when the vault sentinel disappears - Dev runs its own Qdrant; prod reuses the existing host instance - API published on loopback only; read-only rootfs, cap_drop ALL, no-new-privileges - Dev workflow kept as an inactive template outside .gitea/workflows - Docs: operations guide and migration plan with release gates, test baseline classification, R2/R3 and privacy gateway requirements Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
793 B
Plaintext
25 lines
793 B
Plaintext
# Laufzeit-Abhängigkeiten für die Container-Images (API + UI).
|
|
# Abgeleitet aus requirements.txt OHNE torch, sentence-transformers und pytest:
|
|
# - app/embeddings.py (MiniLM) wird von keinem eingebundenen Router importiert;
|
|
# Embeddings laufen über Ollama (embedding_expert, nomic-embed-text, 768 Dim.).
|
|
# - pytest steckt nur im Test-Target (requirements-test.in).
|
|
# Lock neu erzeugen: siehe docs/04_Operations/04_docker_deployment.md, Abschnitt "Lock".
|
|
fastapi>=0.116.1
|
|
uvicorn[standard]>=0.35.0
|
|
httpx>=0.28.1
|
|
qdrant-client>=1.15.1
|
|
pydantic>=2.11.7
|
|
numpy>=2.3.2
|
|
python-frontmatter>=1.1.0
|
|
markdown-it-py>=3.0.0
|
|
PyYAML>=6.0.2
|
|
python-slugify>=8.0.4
|
|
python-dotenv>=1.1.1
|
|
requests>=2.32.5
|
|
tqdm>=4.67.1
|
|
streamlit>=1.39.0
|
|
streamlit-agraph>=0.0.45
|
|
st-cytoscape
|
|
google-genai>=0.3.0
|
|
openai>=1.50.0
|