Run the containers with the systemd configuration, 1:1
The containers now read the unchanged .env of the matching systemd instance (/home/llmadmin/mindnet_dev/.env, /home/llmadmin/mindnet/.env) and use the same Qdrant, Ollama, vault and collection prefix, so both can be compared side by side. Only container-specific values are overridden: host service addresses (host.docker.internal instead of 127.0.0.1) and the read-only vault. - deploy/appenv.py derives the vault mount and prefix from that .env and rejects application keys in the container-only file. - Remove the separate dev Qdrant, the synthetic test vault and the import step. - UI binds 0.0.0.0 like systemd; API stays loopback by default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
eae30775e3
commit
6cdad8b046
20 files changed
+373
-415
No files matched your search
Vendored
+10
-34
@@ -1,39 +1,15 @@
|
||||
# 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.
|
||||
# Mindnet DEV (Container): NUR Container-Angaben. Liegt auf dem Host außerhalb von Git.
|
||||
# Die Anwendungskonfiguration kommt unverändert aus der .env der systemd-Instanz
|
||||
# (MINDNET_APP_ENV_FILE im Workflow). deploy/appenv.py lehnt hier andere Schlüssel ab,
|
||||
# damit diese Datei die Anwendungskonfiguration nicht überschreibt.
|
||||
|
||||
# --- 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
|
||||
# API ohne Authentisierung; die UI erreicht sie intern. Für Zugriff von außen auf 0.0.0.0 setzen.
|
||||
MINDNET_API_BIND=127.0.0.1
|
||||
MINDNET_UI_PORT=8512
|
||||
MINDNET_UI_BIND=127.0.0.1
|
||||
MINDNET_DEV_QDRANT_PORT=6343
|
||||
MINDNET_UI_BIND=0.0.0.0
|
||||
|
||||
# --- 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=
|
||||
# Enthält die systemd-.env Cloud-Keys (OpenRouter/Gemini), startet der Container nur mit
|
||||
# ausdrücklicher Bestätigung. true = gleiches Verhalten wie heute: Vault-Inhalte gehen
|
||||
# ohne Privacy Gateway an den Cloud-Provider.
|
||||
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
|
||||
Reference in new issue
Block a user