coolify/templates
Andras Bacsai 6d47d24169 Fix standalone database "restarting" status flickering and add restart tracking
- Fix status flickering: Track databases in active/transient states (restarting, starting, created, paused) not just running
- Add isActiveOrTransient() helper to distinguish between active states and terminal states (exited, dead)
- Add safeguard: Protect updateNotFoundDatabaseStatus() from marking as exited when containers collection is empty
- Add restart_count tracking: New migration adds restart_count, last_restart_at, last_restart_type to all standalone database tables
- Update 8 database models with $casts for new restart tracking fields
- Update GetContainersStatus to extract RestartCount from Docker and update database models
- Reset restart tracking when database exits completely

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2025-12-17 16:25:41 +01:00
..
compose feat: add Soju IRC bouncer service template (#7532) 2025-12-17 11:51:30 +01:00
service-templates-latest.json Fix standalone database "restarting" status flickering and add restart tracking 2025-12-17 16:25:41 +01:00
service-templates.json Fix standalone database "restarting" status flickering and add restart tracking 2025-12-17 16:25:41 +01:00
test-database-detection.yaml refactor(test-database-detection): rename services for clarity, add new database configurations, and update application service dependencies 2025-06-04 11:44:30 +02:00