Add Docker deployment support and PWA enhancements
- Add Dockerfile with multi-stage build (Node.js + Nginx) - Add docker-compose.yml for Portainer stack deployment on port 7777 - Add nginx.conf with PWA support, gzip compression, and security headers - Add .dockerignore for optimized Docker builds - Add DEPLOYMENT.md with comprehensive deployment guide - Configure Vite PWA plugin with service worker and offline support - Add PWA manifest.json with app icons and shortcuts - Enhance logo.svg with iOS-style glass effects (filters, gradients, highlights) - Add app-icon.svg for PWA installation - Update mobile nav with glassmorphic active tab styling - Fix mobile tab bar layout shift issues with flex-1 and consistent sizing - Update index.html with PWA meta tags and Apple-specific settings - Add health check endpoint at /health for container monitoring Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
65
public/manifest.json
Normal file
65
public/manifest.json
Normal file
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"name": "IndeedHub - Decentralized Media Streaming",
|
||||
"short_name": "IndeedHub",
|
||||
"description": "Stream films and content on the decentralized web powered by Nostr and Bitcoin",
|
||||
"start_url": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "#0a0a0a",
|
||||
"theme_color": "#0a0a0a",
|
||||
"orientation": "portrait-primary",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/assets/images/app-icon.svg",
|
||||
"sizes": "any",
|
||||
"type": "image/svg+xml",
|
||||
"purpose": "any maskable"
|
||||
},
|
||||
{
|
||||
"src": "/pwa-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "/pwa-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "/pwa-maskable-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/pwa-maskable-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/apple-touch-icon.png",
|
||||
"sizes": "180x180",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
}
|
||||
],
|
||||
"categories": ["entertainment", "video", "streaming"],
|
||||
"shortcuts": [
|
||||
{
|
||||
"name": "Browse Films",
|
||||
"short_name": "Films",
|
||||
"description": "Browse all films",
|
||||
"url": "/films",
|
||||
"icons": [{ "src": "/assets/images/app-icon.svg", "sizes": "96x96" }]
|
||||
},
|
||||
{
|
||||
"name": "My List",
|
||||
"short_name": "My List",
|
||||
"description": "View your saved content",
|
||||
"url": "/mylist",
|
||||
"icons": [{ "src": "/assets/images/app-icon.svg", "sizes": "96x96" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user