mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:21:09 +02:00
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:
parent
003f75f7ef
commit
7f1520d6f4
3 changed files with 13 additions and 2 deletions
|
|
@ -220,7 +220,7 @@
|
|||
"cf:projects:list": "npx wrangler pages project list",
|
||||
"cf:projects:create": "echo 'Creating Cloudflare Pages projects...' && npx wrangler pages project create chat-landing --production-branch=main && npx wrangler pages project create picture-landing --production-branch=main && npx wrangler pages project create mana-landing --production-branch=main && npx wrangler pages project create cards-landing --production-branch=main && npx wrangler pages project create quotes-landing --production-branch=main",
|
||||
"dev:search": "cd services/mana-search && go run ./cmd/server",
|
||||
"dev:crawler": "cd services/mana-crawler && go run ./cmd/server",
|
||||
"dev:crawler": "cd services/mana-crawler && DATABASE_URL=postgresql://mana:devpassword@localhost:5432/mana_platform go run ./cmd/server",
|
||||
"dev:notify": "cd services/mana-notify && go run ./cmd/server",
|
||||
"questions:dev": "turbo run dev --filter=questions...",
|
||||
"dev:questions:web": "pnpm --filter @questions/web dev",
|
||||
|
|
@ -256,7 +256,7 @@
|
|||
"dev:manavoxel:local": "concurrently -n sync,web -c magenta,cyan \"pnpm dev:sync\" \"pnpm dev:manavoxel:web\"",
|
||||
"dev:media": "cd services/mana-media/apps/api && bun run --hot src/index.ts",
|
||||
"dev:geocoding": "cd services/mana-geocoding && bun run --watch src/index.ts",
|
||||
"dev:mana:servers": "concurrently -n auth,sync,api,media -c blue,magenta,yellow,green \"pnpm dev:auth\" \"pnpm dev:sync\" \"pnpm dev:api\" \"pnpm dev:media\""
|
||||
"dev:mana:servers": "concurrently -n auth,sync,api,media,crawler -c blue,magenta,yellow,green,cyan \"pnpm dev:auth\" \"pnpm dev:sync\" \"pnpm dev:api\" \"pnpm dev:media\" \"pnpm dev:crawler\""
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mana/eslint-config": "workspace:*",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue