✨ Features: - Analytics Dashboard with real-time metrics - Redis caching for performance optimization - Import/Export functionality for projects - Complete admin system with security - Production-ready Docker setup 🔧 Technical: - Removed Ghost CMS dependencies - Added Redis container with caching - Implemented API response caching - Enhanced admin interface with analytics - Optimized for dk0.dev domain 🛡️ Security: - Admin authentication with Basic Auth - Protected analytics endpoints - Secure environment configuration 📊 Analytics: - Performance metrics dashboard - Project statistics visualization - Real-time data with caching - Umami integration for GDPR compliance 🎯 Production Ready: - Multi-container Docker setup - Health checks for all services - Automatic restart policies - Resource limits configured - Ready for Nginx Proxy Manager
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
# Portfolio Environment Configuration
|
|
# Copy this file to .env and fill in your values
|
|
|
|
# Application
|
|
NODE_ENV=production
|
|
NEXT_PUBLIC_BASE_URL=https://dki.one
|
|
|
|
# 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=your-email@example.com
|
|
MY_INFO_EMAIL=your-info-email@example.com
|
|
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
|
|
|
|
# Security
|
|
# JWT_SECRET=your-jwt-secret
|
|
# ENCRYPTION_KEY=your-encryption-key
|
|
ADMIN_BASIC_AUTH=admin:your_secure_password_here
|
|
|
|
# Monitoring (optional)
|
|
# SENTRY_DSN=your-sentry-dsn
|
|
LOG_LEVEL=info
|