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!

  • plum4@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Great idea, i’ve been telling a friend to move his docker-compose to nix for awhile and this may finally convince him