Podman: Method to convert docker-compose files to systemd unit files


I’m migrating away from docker towards podman (not going straight for kubernetes, as that would definitely be overkill at this point).

Now, many an elegant configuration can be had as docker-compose setup – but docker-compose relies on the docker daemon to start (and keep running) the interdependent containers.

The podman way of doing that would be by having systemd unit files that depend on each other and let systemd do the monitoring, and startup (and shutdown).

Now, hand-converting docker-compose setups to unit files is error-prone, and slightly tedious.

Is there a known source of a sensible docker-compose compatible reader that I can set up to generate systemd unit files?