feat(sentry): integrate Sentry SDK with Next.js and configure DSN
- Added Sentry client, server, and edge configurations for enhanced error monitoring. - Updated `.env.example` and `docker-compose` to include `NEXT_PUBLIC_SENTRY_DSN`. - Modified `next.config.ts` to use `withSentryConfig` for source map uploads. - Installed `@sentry/nextjs` as a dependency and updated `pnpm-lock.yaml`.
This commit is contained in:
@@ -122,6 +122,7 @@ services:
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:3000}
|
||||
NEXT_PUBLIC_SENTRY_DSN: ${NEXT_PUBLIC_SENTRY_DSN}
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user