🔧 Fix Cloudflare build issues and restore Docker support
✅ Cloudflare Pages Fixes: - Fix IPTV page Suspense boundary issue for static generation - Resolve ESLint warnings (unused imports, console statements) - Remove dependency on useSearchParams for static builds - Improve error handling without console.error 🐳 Docker Support Restored: - Add complete Docker configuration (Dockerfile, docker-compose.yml) - Support both basic (localstorage) and Redis deployment modes - Multi-platform builds (amd64/arm64) via GitHub Actions - Production-ready with health checks and proper security 📚 Documentation Updates: - Comprehensive deployment guide for all platforms - Docker quick start and production examples - Environment variable documentation - Updated README with multi-platform support 🎯 Key Improvements: - Multiple deployment options: Cloudflare + Docker + Vercel - Better error boundaries and loading states - Optimized build processes for each platform - Enhanced developer experience This fixes the Cloudflare Pages deployment while providing Docker as an alternative self-hosting option.
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
# Dependencies
|
||||
node_modules
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
|
||||
# Testing
|
||||
coverage
|
||||
*.lcov
|
||||
|
||||
# Next.js
|
||||
.next/
|
||||
out/
|
||||
build
|
||||
|
||||
# Production
|
||||
dist
|
||||
|
||||
# Environment files
|
||||
.env
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
|
||||
# OS generated files
|
||||
.DS_Store
|
||||
.DS_Store?
|
||||
._*
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
|
||||
# IDE
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
|
||||
# Git
|
||||
.git/
|
||||
.gitignore
|
||||
README.md
|
||||
|
||||
# Docker
|
||||
Dockerfile
|
||||
.dockerignore
|
||||
docker-compose*.yml
|
||||
|
||||
# GitHub
|
||||
.github/
|
||||
|
||||
# Misc
|
||||
*.tgz
|
||||
*.tar.gz
|
||||
Reference in New Issue
Block a user