Files
portfolio/env.example
denshooter 60ea4e99be
All checks were successful
Gitea CI / test-build (push) Successful in 11m8s
chore: remove Sentry integration
Remove @sentry/nextjs and all related files since it was never actively used.
- Delete sentry.server.config.ts, sentry.edge.config.ts
- Delete sentry-example-page and sentry-example-api routes
- Clean up instrumentation.ts, global-error.tsx, middleware.ts
- Remove Sentry env vars from env.example and docs
- Update CLAUDE.md, copilot-instructions.md, PRODUCTION_READINESS.md

Middleware bundle reduced from 86KB to 34.8KB (-51KB).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-04 13:00:34 +01:00

52 lines
1.7 KiB
Plaintext

# Portfolio Environment Configuration
# Copy this file to .env and fill in your values
# Application
NODE_ENV=production
NEXT_PUBLIC_BASE_URL=https://dk0.dev
# Ghost CMS (removed - using built-in project management)
# GHOST_API_URL=https://your-ghost-instance.com
# GHOST_API_KEY=your-ghost-api-key
# Email Configuration (optional - for contact form)
MY_EMAIL=contact@dk0.dev
MY_INFO_EMAIL=info@dk0.dev
MY_PASSWORD=your-email-password
MY_INFO_PASSWORD=your-info-email-password
# Database (automatically set by Docker Compose)
# DATABASE_URL=postgresql://portfolio_user:portfolio_pass@postgres:5432/portfolio_db?schema=public
# Redis (automatically set by Docker Compose)
# REDIS_URL=redis://:portfolio_redis_pass@redis:6379
# Analytics
NEXT_PUBLIC_UMAMI_URL=https://analytics.dk0.dev
NEXT_PUBLIC_UMAMI_WEBSITE_ID=b3665829-927a-4ada-b9bb-fcf24171061e
# n8n Integration (optional - for automation and AI features)
N8N_WEBHOOK_URL=https://n8n.dk0.dev
N8N_SECRET_TOKEN=your-n8n-secret-token
N8N_API_KEY=your-n8n-api-key
# Directus CMS (for i18n messages & content pages)
DIRECTUS_URL=https://cms.dk0.dev
DIRECTUS_STATIC_TOKEN=your-static-token-here
# Security
# JWT_SECRET=your-jwt-secret
# ENCRYPTION_KEY=your-encryption-key
ADMIN_BASIC_AUTH=admin:your_secure_password_here
ADMIN_SESSION_SECRET=change_me_to_a_long_random_string_at_least_32_chars
# Prisma migrations at container startup
# - default: migrations are executed (`prisma migrate deploy`)
# - set to true ONCE if you already have an existing DB that was created before migrations existed
PRISMA_AUTO_BASELINE=false
# emergency switch (not recommended for normal operation)
# SKIP_PRISMA_MIGRATE=true
# Monitoring (optional)
LOG_LEVEL=info