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 on postgresql to service server
3: dependency condition service_healthy is 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 include Notify=healthy.
- If a Compose service has a
depends_on entry with condition: service_healthy, the resulting quadlet should include the appropriate Requires= and After= 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.
Current Behaviour:
When trying to convert a Compose file that uses:
Podlet fails with the following error:
Podlet suggests using
Notify=healthyin 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:
healthcheck, the resulting quadlet should includeNotify=healthy.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.