Restored to 'afb7a90e0a9fbf19dfd193a47ef6054a853fdd60'

Replit-Restored-To: afb7a90e0a
This commit is contained in:
michaelschal committed 2025-07-13 13:04:02 +00:00
1 parent 55fb5abd45
commit 04e8eea3bd
12 files changed
+126 -339

No files matched your search

-36
View File
@@ -331,42 +331,6 @@ Preferred communication style: Simple, everyday language.
- ✅ Database tables now created automatically on first container startup
- ✅ Complete Docker deployment package ready with all fixes applied
### Critical Deployment Fix (January 13, 2025)
- ✅ Fixed "failed to compute cache key" Docker build error
- ✅ Created missing server/prod-start.js file for Node.js 18 compatibility
- ✅ Simplified docker-entrypoint-simple.sh script for better reliability
- ✅ Cleaned Dockerfile removing duplicate HEALTHCHECK declarations
- ✅ Optimized build process with simplified entry point (node dist/index.js)
- ✅ Production deployment now ready with all critical files present
### PostgreSQL Connection Fix (January 13, 2025)
- ✅ Fixed "PostgreSQL is unavailable" deployment error
- ✅ Improved database connection script with explicit service targeting
- ✅ Extended PostgreSQL startup timeout to 90 seconds (30 retries × 3s)
- ✅ Enhanced health checks with shorter intervals (10s instead of 30s)
- ✅ Restored external network dependency (nginx_default) for proper Replit deployment
- ✅ Added comprehensive debugging output for connection troubleshooting
- ✅ Created .env.example template for environment configuration
- ✅ Optimized Docker Compose for maximum deployment compatibility
### Docker Application Startup Fix (January 13, 2025)
- ✅ Fixed application startup loop after database migrations
- ✅ Cleaned up duplicate ENTRYPOINT declarations in Dockerfile
- ✅ Simplified docker-entrypoint-simple.sh script with proper exec
- ✅ Added debugging output to track application startup process
- ✅ Reduced PostgreSQL timeout to 60 seconds (20 retries × 3s)
- ✅ Enhanced startup script with Node.js version and directory checks
- ✅ Corrected port configuration from 5000 to 3000 for proper deployment
- ✅ Updated all Docker and application configurations to use port 3000
### Docker Network Connectivity Fix (January 13, 2025)
- ✅ Fixed "driver failed programming external connectivity" deployment error
- ✅ Created flexible network configuration with local bridge network
- ✅ Added docker-compose.prod.yml for production deployment with nginx_default
- ✅ Separated development and production Docker configurations
- ✅ Resolved external network dependency issues preventing deployment
- ✅ Enhanced network specifications for both database and application services
### Portainer Deployment Fix (January 10, 2025)
- ✅ Resolved Docker image pull error "regisflow-regisflow:latest" in Portainer
- ✅ Created local image building solution with "regisflow:latest" tag