nix
Nix Cyph0n 10 months ago 100%

compose2nix: Generate a NixOS config from a Docker Compose project

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!

7
5
Comments 5