Database services inside Docker Compose applications had no way to configure scheduled backups. Service-type deployments had this through ServiceDatabase, but Application buildpack deployments were left out — the service_id FK had no Application equivalent.
Changes:
service_id nullable and adds application_id FK so ServiceDatabase supports both parent types (XOR CHECK constraint on PostgreSQL)parseDockerComposeFile() creates ServiceDatabase rows linked to the application for detected database imagesServiceDatabase row and scheduled backup records deletedDatabaseBackupJob re-queues after 5 minutes via release(300) when the parent application is actively deployingApplication config — Databases section:

Scheduled Backups page:

If AI was used:
Pest feature tests in tests/Feature/ApplicationComposeDatabaseBackupsTest.php:
[!IMPORTANT]
- I have read and understood the contributor guidelines. If I have failed to follow any guideline, I understand that this PR may be closed without review.
- I have searched existing issues and pull requests (including closed ones) to ensure this isn’t a duplicate.
- I have tested all the changes thoroughly with a local development instance of Coolify and I am confident that they will work as expected when a maintainer tests them.
/claim #7528
Enkae
@enkae-code
Ilias Ism
@me