c0c0n3 / odoo.box

All of Martel's Odoo stack on just one NixOS machine.
MIT License
3 stars 0 forks source link

Basic Odoo service stack #3

Closed c0c0n3 closed 6 months ago

c0c0n3 commented 6 months ago

This PR implements a basic Odoo single-machine service stack.

We implement a NixOS module to configure the whole service stack to run Odoo on a single machine:

Notice this module comes with a bootstrap option to migrate an Odoo DB and file store from another Odoo server. Also, this module makes psql and the Odoo CLI available system-wide to help with maintenance tasks.

Finally we package Odoo 14 for both ARM and Intel architectures so we can run our service stack on both. The packaging is quite involved and even entails patching the Odoo source to fix Odoo bugs---see gevent commits. Not to mention the packaging of the right (very old!) versions of external programs like wkhtmltopdf that Odoo 14 implicitly depends on.