Files
mindnet/deploy/env/dev.env.example
T
LarsandClaude Opus 5.5 7a225ba2b6 Prepare containerized dev/prod deployment (inactive)
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>
2026-10-28 14:33:18 +01:00

40 lines
1.6 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Mindnet DEV (Container) – Vorlage. Kopieren nach deploy/env/dev.env (nie committen).
# Qdrant-URL und Collection-Präfix sind in compose.dev.yml fest auf die Dev-Instanz gesetzt.
# --- Compose / Host ------------------------------------------------------------
MINDNET_IMAGE_TAG=dev
# Host-Pfad eines Verzeichnisses mit TESTDATEN (kein persönlicher Vault); nur lesend.
# Muss _system/dictionary/edge_vocabulary.md enthalten (Sentinel), siehe Doku.
MINDNET_VAULT_HOST_PATH=
MINDNET_API_PORT=8012
MINDNET_UI_PORT=8512
MINDNET_UI_BIND=127.0.0.1
MINDNET_DEV_QDRANT_PORT=6343
# --- Lokale Modelle (gemeinsamer Host-Dienst) -------------------------------------
MINDNET_OLLAMA_URL=http://host.docker.internal:11434
MINDNET_EMBEDDING_MODEL=nomic-embed-text
MINDNET_LLM_MODEL=phi3:mini
MINDNET_LLM_TIMEOUT=300.0
MINDNET_LLM_BACKGROUND_LIMIT=2
# --- Cloud-LLM -------------------------------------------------------------------
# Nur mit synthetischen Testdaten zulässig. Dann Keys setzen und
# MINDNET_ALLOW_CLOUD_EGRESS=true. Nie mit echten Vault-Inhalten.
MINDNET_LLM_PROVIDER=openrouter
OPENROUTER_API_KEY=
GOOGLE_API_KEY=
MINDNET_ALLOW_CLOUD_EGRESS=false
MINDNET_LLM_FALLBACK=true
MINDNET_LLM_RATE_LIMIT_WAIT=60.0
MINDNET_LLM_RATE_LIMIT_RETRIES=3
# --- Verarbeitung ----------------------------------------------------------------
MINDNET_TYPES_FILE=./config/types.yaml
MINDNET_CHANGE_DETECTION_MODE=full
MINDNET_LLM_VALIDATION_HEADERS=Unzugeordnete Kanten,Edge Pool,Candidates
MINDNET_LLM_VALIDATION_HEADER_LEVEL=3
MINDNET_NOTE_SCOPE_ZONE_HEADERS=Smart Edges,Relationen,Global Links,Note-Level Relations,Globale Verbindungen
MINDNET_NOTE_SCOPE_HEADER_LEVEL=2
DEBUG=true