Odoo 12 Installation using Docker on macOs

Hey guys! I’m Akbar. In the previous article, I’ve written about implementing a load balancer using Nginx on Django. So take a look at https://medium.com/@akbarsts2/implementasi-load-balancer-menggunakan-nginx-dalam-django-60d27c3f3f25 if you guys want to know about it. I’m sorry because it’s only available in Bahasa.😂

What is Odoo?

Odoo is an open-source enterprise resource planning (ERP) software which consists of integrated business modules, customer relationship management, e-commerce, accounting, and others. Odoo aims so that the modules can communicate and exchange information efficiently. Odoo is available in cloud. As previously mentioned, Odoo is an open-source software and that’s why Odoo is highly customizable.

What is Docker?

Docker is a platform as a service product that use a virtualization on operating system level, to deliver a software in packages called container. As already mentioned, we will use virtualization but it will not be as heavy as virtualization in virtual machines.

Odoo 12 Installation (in Bahasa).

The Docker

So, before we start to install Odoo, firstly we need to install Docker to our system. There are 3 methods(maybe more) to install the Docker.

Using Redhat:

$ sudo apt install docker docker-compose

Using brew:

$ brew install docker-compose

or Directly through The Docker Hub:

I used the third one because I failed with the two others. If you’re done with it, we can now start with the Odoo 12.

The Odoo

Next, we’re going to create some folders (based on Holden Rehg medium article) as the steps shown below:

$ mkdir -p ~/projects/odoo-docker
$ cd ~/projects/odoo-docker
$ touch docker-compose.yml
$ mkdir ./config && touch config/odoo.conf
$ mkdir ./addons

These folders will become our project environment.

After that, we can now fill the docker-compose.yml content by pasting the content from Holden Rehg Medium. Here’s the raw.

Also the ./config/odoo.conf content from Holden Rehg Medium. Also the raw is provided here.

Finally, we can now start up our container by running:

docker-compose up
Run via terminal.

Also we can now run the http://localhost:9000 on our favorite web browser. The page will display:

Odoo 12 form page.

Fill the master password with admin_password (which has been written on odoo.conf) and now you can fill the rest of the form to create the database.

Then, if you check the Demo data box, the page will display:

Odoo 12 Homepage.

Voila, Odoo 12 is successfully installed and ready to used!

Thanks For Reading!

Follow my medium for more articles.

Also, if you want to browse for other content, here are my Social Media😁:




Muhammad Akbar Rafsanjhani — 1806186686