Successfully deployed ShopDB in Docker with pre-built frontend approach. WORKING: - MySQL 8.4 database (healthy) - Flask API with HTTPS on port 5001 - Gunicorn with 4 gevent workers - All 17 plugins installed, 12 enabled - Frontend built and served via Vue 3 SPA - Auto-bootstrap on first deployment BUILD APPROACH: - Build frontend on host (bypasses Zscaler npm issues) - Copy pre-built dist/ into Docker image - Simple Python-only Dockerfile (no npm in container) - Build time: 2-3 minutes (vs 15+ for failed multi-stage) NOT WORKING YET: - Backup watcher service (Oracle Linux SSL cert issues with Zscaler) - Manual backups still functional via one-shot container VERIFICATION: - curl -k https://localhost:5001/ returns HTML - curl -k https://localhost:5001/api/settings returns JSON - 4 gunicorn workers running - Database migrations applied Files: - DOCKER-DEPLOYMENT-COMPLETE.md: Full deployment guide - scripts/backup/zscaler-root-ca.pem: Zscaler cert for backup containers - .dockerignore: Updated to allow frontend/dist For production: Set up CI/CD to build images and push to registry.
362 B
362 B