/claim #7528

Summary

When deploying Docker Compose files via GitHub App (using the dockercompose buildpack), database services were not being detected and ServiceDatabase records were not created. This meant automated backups were not available for databases in these deployments.

Root Cause

In applicationParser() in parsers.php, when isDatabaseImage() detected a database image, the code would first check if a ServiceApplication record already existed for the service and reuse it instead of creating a ServiceDatabase record.

Fix

This fix ensures that when isDatabaseImage() returns true, a ServiceDatabase record is always created (or reused if it already exists), regardless of any existing ServiceApplication records. This enables proper backup functionality for database containers deployed via GitHub App docker compose.

The fix removes the check for existing ServiceApplication in the isDatabase branch, ensuring ServiceDatabase is always created for detected databases.

Testing

  • Existing database services will continue to work (they are migrated or already ServiceDatabase)
  • New database services will be correctly created as ServiceDatabase
  • Backups will be available for database containers in docker compose deployments

Closes coollabsio/coolify#7528

Claim

Total prize pool $100
Total paid $0
Status Pending
Submitted April 05, 2026
Last updated April 05, 2026

Contributors

TH

THEMACHINE Corp.

@themachinecorp

100%

Sponsors

IL

Ilias Ism

@me

$100