Files
memegoat/.env.example
Mathis HERRIOT 3f7e592600 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`.
2026-02-09 14:00:28 +01:00

51 lines
861 B
Plaintext

# Global
NODE_ENV=development
# Backend
BACKEND_PORT=3001
# Frontend
FRONTEND_PORT=3000
# Database (PostgreSQL)
POSTGRES_HOST=db
POSTGRES_PORT=5432
POSTGRES_DB=app
POSTGRES_USER=app
POSTGRES_PASSWORD=app
# Redis
REDIS_HOST=redis
REDIS_PORT=6379
# Storage (S3/MinIO)
S3_ENDPOINT=s3
S3_PORT=9000
S3_ACCESS_KEY=minioadmin
S3_SECRET_KEY=minioadmin
S3_BUCKET_NAME=memegoat
# Security
JWT_SECRET=super-secret-jwt-key-change-me-in-prod
ENCRYPTION_KEY=01234567890123456789012345678901
PGP_ENCRYPTION_KEY=super-secret-pgp-key
SESSION_PASSWORD=super-secret-session-password-32-chars
# Mail
MAIL_HOST=mail
MAIL_PORT=1025
MAIL_SECURE=false
MAIL_USER=
MAIL_PASS=
MAIL_FROM=noreply@memegoat.local
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
MAX_GIF_SIZE_KB=1024