🚀 Add automatic deployment system

- Add auto-deploy.sh script with full CI/CD pipeline
- Add quick-deploy.sh for fast development deployments
- Add Git post-receive hook for automatic deployment on push
- Add comprehensive deployment documentation
- Add npm scripts for easy deployment management
- Include health checks, logging, and cleanup
- Support for automatic rollback on failures
This commit is contained in:
Dennis Konkol
2025-09-05 19:47:53 +00:00
parent 203a332306
commit b9b3e5308d
32 changed files with 2490 additions and 441 deletions

31
env.example Normal file
View File

@@ -0,0 +1,31 @@
# 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
GHOST_API_URL=https://your-ghost-instance.com
GHOST_API_KEY=your-ghost-api-key
# Email Configuration
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 (if using external database)
# DATABASE_URL=postgresql://username:password@localhost:5432/portfolio
# Analytics
# NEXT_PUBLIC_UMAMI_URL=https://analytics.dk0.dev
# NEXT_PUBLIC_UMAMI_WEBSITE_ID=your-website-id
# Security
# JWT_SECRET=your-jwt-secret
# ENCRYPTION_KEY=your-encryption-key
# Monitoring
# SENTRY_DSN=your-sentry-dsn
# LOG_LEVEL=info