-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Current Behaviour:
When trying to convert a Compose file that uses:
depends_on:
postgresql:
condition: service_healthy
Podlet fails with the following error:
Error:
0: error converting compose file
1: error converting compose file into Quadlet files
2: error adding dependency onpostgresqlto serviceserver
3: dependency conditionservice_healthyis not directly supported
Podlet suggests using Notify=healthy in the [Container] section manually, but this requires a user to manually modify the generated quadlets, and the idea of using Podlet is so that one doesn't have to do this.
Feature Request:
- If a Compose service defines a
healthcheck, the resulting quadlet should includeNotify=healthy. - If a Compose service has a
depends_onentry withcondition: service_healthy, the resulting quadlet should include the appropriateRequires=andAfter=keys referencing the dependency container.
This simplifies the conversion logic and preserves Compose semantics in a way that maps naturally to systemd/Podman quadlets without any user intervention.
ctrought, justHuman110 and rrmistry
Metadata
Metadata
Assignees
Labels
No labels