I've tested the github repository you cited and wasn't able to reproduce it at all. Tested versions said to be working and the code still was really unstable even using docker compose.
I believe this code you used wasn't the best example as I found its Makefile really unstable with many versions of podman compose and even Docker. So I think this is not a issue with the version in Debian stable