Odoo With Docker

Platform that allows to build, deploy, run, and manage their apps using containers.

What is Docker!

Docker is a software platform that allows developers to create, deploy, and run applications in containers, which are lightweight and portable. Containers provide an isolated environment to run the application, along with all its dependencies and configuration, making it easier to build, test, and deploy applications across different environments. Docker also provides tools and features to manage containers, such as Docker Compose and Docker Registry.

Odoo Docker

Odoo is an open-source ERP software that can be run on Docker. Odoo provides its own Docker image, which supports the latest three versions of Odoo and is based on Debian. 

However, there are some limitations

Limitations:

  1. No Compose YAML has been provided.
  2. PSQL installed within the odoo docker.
  3. Exposing direct ports.
  4. You will have to manage the Custom/Extra Addons manually.
  5. Installation of additional Python Lib or System packages is hard to manage.

Doodba

Doodba is another Docker image maintained by Tecnativa, which provides a base for building Odoo projects.:

Doodba stands for Docker Odoo Base, and it is a highly opinionated image ready to put Odoo inside it, but without Odoo.

Advantages:

  1. It includes a docker-compose.yaml file.
  2. It includes the bundle of not only Odoo but also other needful dockers, etc, PSQL, MailHog, pgWeb.
  3. It also provides Odoo proxy docker which serves the purpose of proxy for odoo.
  4. Doodba also integrates with git-aggregator, which makes it easier to manage custom or extra addons, including the ability to specify the branch to checkout and mention PR patches or branch merges.

Limitation:

  1. The community is working hard to remove all the limitations so bugs and security patches or version updates are taken care of.
  2. A few limitations are there like. it is not default available for the master branch, but neither did Odoo Docker.
  3. Overhead for some extra dockers which might not be needed overtime. but you can always remove it from docker-compose file.

Stay tuned for our next post on how to working with Doodba! (call for action or newsletter subscription)

Share this post
Feature and power of the integration of Odoo with the external system
"Seamless Integration: Boosting Efficiency"