mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 18:01:09 +02:00
fix(dev): mana-notify dev script ships explicit DATABASE_URL
The Go service defaults to postgresql://mana:mana@... but the local docker-compose postgres uses devpassword (matches every other service + .env.development). Without the override the notify worker died on boot with "failed SASL auth". Inline the URL on the script so dev:cardecky:full + dev:notify both work out of the box. Long-term the right home for this is an .env file the Go service reads, but that's a separate refactor across all Go services in the monorepo.
This commit is contained in:
parent
7a96a9a3fa
commit
a6a003fa5e
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@
|
|||
"dev:search": "cd services/mana-search && PORT=3021 SEARXNG_URL=http://localhost:8080 REDIS_HOST=localhost REDIS_PORT=6379 REDIS_PASSWORD=${REDIS_PASSWORD:-devpassword} go run ./cmd/server",
|
||||
"dev:crawler": "cd services/mana-crawler && go run ./cmd/server",
|
||||
"dev:credits": "cd services/mana-credits && bun run --watch src/index.ts",
|
||||
"dev:notify": "cd services/mana-notify && go run ./cmd/server",
|
||||
"dev:notify": "cd services/mana-notify && DATABASE_URL=postgresql://mana:devpassword@localhost:5432/mana_notify go run ./cmd/server",
|
||||
"questions:dev": "turbo run dev --filter=questions...",
|
||||
"dev:questions:web": "pnpm --filter @questions/web dev",
|
||||
"dev:questions:app": "concurrently -n api,web -c yellow,cyan \"pnpm dev:api\" \"pnpm dev:questions:web\"",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue