It takes 68 steps to deploy Odoo with NixOS

That was fun to hack on.

I’m curious if you see any steps that could be compressed or if you would have done something differently.

19 Likes

Nice content, thanks.

For curiosity, how many steps would be required to deploy hosts/odoo2 ?

Good question.

Around half of the article is base setup that doesn’t need to be done again.

It is around 33 steps, I would say.

  1. Order server (6 steps)
  2. Bind DNS entry (2 steps)
  3. Prepare the host configuration (5 → 2 steps because you can copy it from the other deploy)
  4. Bootstrap SOPS (6 steps)
  5. Bootstrap the host (8 steps)
  6. NixOS modules (5 step)
  7. Deploy changes (4 step)

This can be reduced to 21 steps by wrapping (4) and (5) into scripts. The clan.lol project is doing this.

3 Likes