Convert kubernetes config to docker-compose file (reverse kompose)
You can try out Move2Kube (https://github.com/konveyor/move2kube). You will have to place all your kubernetes yamls in a folder, and run move2kube using :
move2kube translate -s <folder containing kubernetes files>
It does create a docker-compose.yaml file in the output folder. It does it for most basic elements.
If you want to support more features in the output docker-compose file, you can enhance the docker compose translator of move2kube (https://github.com/konveyor/move2kube/blob/master/internal/transformer/composetransformer.go).