How to deploy ODOO as a Docker container


Buy Website Traffic | Increase Website Traffic | SEO Backlinks | Alexa Ranking

Learn to arrange a containerized model of the ODOO ERP resolution.

Picture: Jack Wallen

ODOO is the rebranded model of the OpenERP Enterprise Useful resource Planning server. This device is a set of purposes that may cowl your entire enterprise wants from e-commerce and manufacturing or from stock to accounting and extra. Higher but, all the instruments are seamlessly built-in, so your entire ERP wants are coated. ODOO could be deployed in SOHO to Enterprise-level companies.

If you wish to check ODOO, you possibly can take the time to put in the complete system on a Linux server (See: How you can Set up ODOO Administration Software program on Ubuntu 18.04), or you possibly can deploy it as a container, to get it up and working in minutes. This makes for an excellent technique to kick the tires of the system, earlier than taking the time to deploy it within the conventional method. Or, you possibly can merely deploy it as a container and be finished with it.

SEE: System replace coverage template obtain (Tech Professional Analysis)

I’ll stroll you thru the method of deploying ODOO as a Docker container. I am going to reveal on Ubuntu 18.04, however the course of would be the similar, no matter platform.

What you want

I am going to assume you have already got Ubuntu Server up and working and Docker put in and dealing correctly. Moreover that, you want a person account that may difficulty Docker instructions with out having to make use of sudo.

With that mentioned, let’s deploy.

Deploy the database

The very first thing you want to do is to deploy a PostgreSQL container. Log into your Ubuntu Server occasion and difficulty the command:

docker run -d -e POSTGRES_USER=odoo -e POSTGRES_PASSWORD=odoo -e POSTGRES_DB=postgres --name db postgres:10

As soon as that command completes, you will have a working occasion of PostgreSQL, prepared for the ODOO deployment.

Deploy ODOO

Now it is time to deploy the ODOO container. We’ll deploy on inner and exterior port 8069 (in order that port should be open in your community for this to perform correctly). To deploy the ODOO container, difficulty the command:

docker run -p 8069:8069 --name odoo --link db:db -t odoo

Customized configuration

Do word, this deployment will use a reasonably generic configuration. Must you need to make modifications to that, you need to use your personal customized configuration with the assistance of volumes. This, in fact, would require you to put in writing your customized configuration manually or copy one from one other deployment you’ve got used.

The ODOO configuration file is present in /and so forth/odoo/odoo.conf. To utilize volumes, you want to place the file in a listing readable by your Docker person (we’ll use /knowledge/odoo.conf for example). To deploy ODOO, utilizing your customized configuration file, difficulty the command:

docker run -v /knowledge/odoo.conf:/and so forth/odoo -p 8069:8069 --name odoo --link db:db -t odoo

Ending up

Both method, you select (along with your configuration file), open a browser and level it to http://SERVER_IP:8069 (the place SERVER_IP is the IP handle of your docker server). You’ll be greeted by the ODOO set-up display screen (Determine A), the place you may create a brand new database.

Figure AFigure A

Determine A: The ODOO configuration window.

Congratulations, you are ODOO ERP resolution is able to serve. It is a nice methodology for both shortly deploying or testing an excellent, open supply ERP resolution.

See additionally

Buy Website Traffic | Increase Website Traffic | SEO Backlinks | Alexa Ranking

Source link