chore(dev): wire mana-crawler into the local dev stack

Three small config changes so the Kontext "Aus URL" flow (next commit)
is runnable from a plain `pnpm dev:mana:all`:

- package.json: include mana-crawler in the dev:mana:servers
  concurrently group, and pass DATABASE_URL=…/mana_platform so the
  Go binary doesn't try to connect to a non-existent `mana` DB (its
  hardcoded default).
- .env.development: publish MANA_CRAWLER_URL=http://localhost:3023
  (the crawler's default binary port — the macmini container is
  a 3014 override, kept only in docker-compose). Also surface
  MANA_LLM_DEFAULT_MODEL for the summariser.
- docker-compose.macmini.yml: inject MANA_CRAWLER_URL + the
  default-model env into the mana-api container so production
  can reach the internal crawler and pick the summariser model
  consistently.

No runtime code touched.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-15 14:23:54 +02:00
parent 003f75f7ef
commit 7f1520d6f4
3 changed files with 13 additions and 2 deletions

View file

@ -176,6 +176,15 @@ OLLAMA_URL=http://localhost:11434
# the GPU LLM proxy (gpu-llm.mana.how).
MANA_LLM_URL=https://llm.mana.how
MANA_LLM_API_KEY=
MANA_LLM_DEFAULT_MODEL=gemma3:4b
# mana-crawler — Go service. Default binary port is 3023 (local dev);
# the macmini docker-compose overrides to 3014 internally. Used by the
# Kontext URL import endpoint (POST /api/v1/context/import-url) to
# fetch and convert web pages to markdown. No public ingress —
# apps/api reaches it via localhost in dev, via mana-crawler:3014
# hostname in the Docker network.
MANA_CRAWLER_URL=http://localhost:3023
# ============================================
# MAERCHENZAUBER PROJECT