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!

  • BRTSLV@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    have been doing this a lot manually the last few month, good initiative gonna try for sure next week !