STRAWBERRY
- Fix docker-compose Application deployments (GitHub App path) not creating
ServiceDatabaserecords for database services indocker-compose.yml.- Persist detected database services for
build_pack=dockercomposeApplications by creating/updatingservice_databasesrows scoped to the Application.- Schema support: add nullable
service_databases.application_idand makeservice_databases.service_idnullable so aServiceDatabasecan belong to either a Service (existing behavior) or a docker-compose Application.- Add an Application-level Backups tab (only for docker-compose buildpack) to schedule and inspect backups for detected compose database services.
- Update backup execution paths (server resolution, container lookup, download route, status polling) to support Application-owned
ServiceDatabaserecords.- Prevent cleanup of Application-owned
ServiceDatabaserecords as “orphaned” resources.
- Bug fix
- Screen recording will be added before posting
/claim #7528.
- AI is used in the process of creating this PR
- Create a new Application using the
dockercomposebuildpack via the GitHub App flow.- Use a repo that contains a
docker-compose.ymlwith a database service (for examplepostgres:16-alpine) and at least one non-database service.- Deploy the Application.
- Go to
Project -> Environment -> Application -> Configuration -> Backups.- Expected: the database service is listed on the left and you can create a scheduled backup for it.
- Run a backup and confirm a new execution entry is created and the download endpoint works.
[!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 tested the changes thoroughly and am confident that they will work as expected without issues when the maintainer tests them
Harmatta
@Harmatta
Ilias Ism
@me