Repo: https://github.com/aksiksi/compose2nix
I’ve been working on a CLI tool that takes a Docker Compose project and converts into a NixOS config file consisting of oci-containers
(Podman or Docker) and associated systemd services. This file can then be imported as-is as part of your NixOS configuration.nix
.
You can see a sample input and output here: https://github.com/aksiksi/compose2nix#sample
This tool is still early in development, but the basic functionality works. I would appreciate any feedback or input on what features you’d want to see in a tool like this. Thanks!
Thanks! If you end up trying it, let me know how it goes.