Docker-compose.nix

docker-compose.nix enables nix-defined or imported docker-compose.yml services with secrets (e.g., sops-nix) integration and optional systemd service.

I know, I know, I should package the app and write a proper nixos module for it. This is for when you want something quick and dirty, but not so quick and dirty that it’s not checked in, but also with proper secrets support.

Some projects also seem to prefer docker-compose for distribution and install, go figure.

5 Likes

There’s also compose2nix, with support for agenix.

1 Like

Oh neat, I was unaware! Thanks for mentioning.

1 Like