Docker for Odoo 16 - get Odoo within 1 minute

  Oct 18, 2022      2m      0   
 

Set up Odoo 16 (released 2022) develop and production environment with Docker Compose in Ubuntu.

Docker for Odoo 16 - get Odoo within 1 minute

Please install Docker and Docker-Compose before walking through this tutorial.

Containers in docker-compose.yml:

  • odoo:16.0
  • postgres:15

Github Odoo 16 Docker Compose

Github: https://github.com/minhng92/odoo-16-docker-compose

Star my repository if it helps. Thank you.

Installing Odoo 16

$ git clone https://github.com/minhng92/odoo-16-docker-compose
$ cd odoo-16-docker-compose
$ sudo chmod -R 777 addons && sudo chmod -R 777 etc && mkdir -p postgresql && sudo chmod -R 777 postgresql
$ if grep -qF "fs.inotify.max_user_watches" /etc/sysctl.conf; then echo $(grep -F "fs.inotify.max_user_watches" /etc/sysctl.conf); else echo "fs.inotify.max_user_watches = 524288" | sudo tee -a /etc/sysctl.conf; fi
$ sudo sysctl -p    # apply new config immediately
$ docker-compose up -d

Open localhost:10016 to access Odoo 16. Database password: minhng.info (change it @ etc/odoo.conf)

Quick command to setup Odoo 16

curl -s https://raw.githubusercontent.com/minhng92/odoo-16-docker-compose/master/run.sh | sudo bash -s odoo-one 10016 20016

In the above command, a few parameters:

  • odoo-one: target folder on local machine
  • 10016: Odoo port
  • 20016: chat port

Odoo posts:


Khám phá Odoo


Khám phá xử lý ảnh - GVGroup




-->