Improve application startup process and fix potential database issues

Refactors Dockerfile and entrypoint script for enhanced reliability, debugging, and single database migration.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: dec54137-d5a2-4406-8ad4-5f2f9fb110bf
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/5d315300-98fa-429a-abb0-4fdce6a2e3c9.jpg
This commit is contained in:
michaelschal committed 2025-07-13 12:02:30 +00:00
1 parent 037e7e2e49
commit 39cc269d29
4 files changed
+152 -17

No files matched your search

+8
View File
@@ -349,6 +349,14 @@ Preferred communication style: Simple, everyday language.
- ✅ 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
### 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