Add Sentry source maps and release tracking
- @sentry/vite-plugin uploads source maps during Docker build - Release tagged with git SHA (SENTRY_RELEASE) on both client and server - Environment set to production/development for filtering - CD passes SENTRY_AUTH_TOKEN + SENTRY_RELEASE as Docker build args - docker-compose passes SENTRY_RELEASE to runtime containers Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
1a655d328f
commit
091fc0a4bd
12 changed files with 290 additions and 2 deletions
|
|
@ -26,6 +26,7 @@ services:
|
|||
SESSION_SECRET: ${SESSION_SECRET:-change-me-in-production}
|
||||
NODE_ENV: production
|
||||
PORT: 3000
|
||||
SENTRY_RELEASE: ${SENTRY_RELEASE:-}
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
|
@ -38,6 +39,7 @@ services:
|
|||
DATABASE_URL: postgres://trails:${POSTGRES_PASSWORD:-trails}@postgres:5432/trails
|
||||
NODE_ENV: production
|
||||
PORT: 3001
|
||||
SENTRY_RELEASE: ${SENTRY_RELEASE:-}
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue