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:
Mathis HERRIOT
2026-02-09 14:00:28 +01:00
parent f7cd514997
commit 3f7e592600
10 changed files with 1053 additions and 25 deletions

View File

@@ -43,6 +43,7 @@ DOMAIN_NAME=localhost
ENABLE_CORS=false
CORS_DOMAIN_NAME=localhost
SENTRY_DSN=
NEXT_PUBLIC_SENTRY_DSN=
# Media Limits (in KB)
MAX_IMAGE_SIZE_KB=512