fix(gateway): load .env from monorepo root via dotenv
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

Gateway runs from apps/gateway/ via pnpm filter but .env lives at the
monorepo root. Added dotenv to resolve ../../.env first, then local
.env as override.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-14 20:24:49 -05:00
parent d5102f62fa
commit 84d5fa82e5
3 changed files with 18 additions and 1 deletions

View File

@@ -20,9 +20,9 @@
"@mosaic/coord": "workspace:^",
"@mosaic/db": "workspace:^",
"@mosaic/discord-plugin": "workspace:^",
"@mosaic/telegram-plugin": "workspace:^",
"@mosaic/log": "workspace:^",
"@mosaic/memory": "workspace:^",
"@mosaic/telegram-plugin": "workspace:^",
"@mosaic/types": "workspace:^",
"@nestjs/common": "^11.0.0",
"@nestjs/core": "^11.0.0",
@@ -41,6 +41,7 @@
"better-auth": "^1.5.5",
"class-transformer": "^0.5.1",
"class-validator": "^0.15.1",
"dotenv": "^17.3.1",
"fastify": "^5.0.0",
"node-cron": "^4.2.1",
"reflect-metadata": "^0.2.0",