Hacker GitHub

← All repos

aksiksi/compose2nix

View on GitHub ↗ ★ 913 Go

Generate a NixOS config from a Docker Compose project.

13 mentions on Hacker News by 1 person: 2 stories, 11 comments · first 2023-11-12 · latest 2025-09-05

Mentions per year 13 mentions · busiest year 2024 (7)
20082026
  1. …map your Compose config into a NixOS config that runs your Compose project on systemd! https://github.com/aksiksi/compose2nix
    comment by Cyph0n · 2025-09-05 · in I ditched Docker for Podman
  2. …Docker socket. Shameless plug: Alternatively, if you are on NixOS, you can just use compose2nix. https://github.com/aksiksi/compose2nix
  3. GHA can do nested virt via KVM. Here is an action that runs a test that boots up a VM running NixOS: https://github.com/aksiksi/compose2nix/blob/main/.github/wor... You can also run QEMU if you want to build for ARM (although this…
  4. …migrate or run a Compose project on NixOS, I maintain a tool that makes this pretty easy to do :) https://github.com/aksiksi/compose2nix
    comment by Cyph0n · 2024-12-05 · in Deploying Containers on NixOS: A Guide
  5. …on NixOS. It’s essentially a Compose backend that targets a mix of NixOS + systemd + Podman/Docker. https://github.com/aksiksi/compose2nix
  6. …as storage goes, I just use ZFS on the hypervisor (Proxmox) and expose that over NFS locally. [1] https://github.com/aksiksi/compose2nix
    comment by Cyph0n · 2024-09-18 · in Gentle Guide to Self-Hosting
  7. …I maintain a tool that help simplify this [2]. [1] https://nixos.wiki/wiki/NixOS_Containers [2] https://github.com/aksiksi/compose2nix
  8. …a “reimplementation” of Compose. It should support the default network per Compose project. See: https://github.com/aksiksi/compose2nix/blob/6dc451fd960f7a9b... . If you’re talking about something else, please feel free to open an issue…
  9. …— it converts your Compose files into a NixOS config that can be interpreted and managed natively. https://github.com/aksiksi/compose2nix
  10. …going forward. I even wrote a tool that simplifies migrating Docker Compose stacks to NixOS: https://github.com/aksiksi/compose2nix
    comment by Cyph0n · 2023-12-15 · in NixOS has one fatal flaw
  11. …project into a NixOS config you can import as-is. Still kinda early, but the basic skeleton works: https://github.com/aksiksi/compose2nix . You can see a sample output file here: https://github.com/aksiksi/compose2nix/blob/main/testdata/Te.…
    comment by Cyph0n · 2023-11-12 · in An Overview of Nix in Practice