/odoo-16-docker

Setup Docker for Odoo 16

Primary LanguagePython

Setup Docker for Odoo 16 with pgAdmin Access

Install docker:

$ sudo apt install docker.io
$ sudo systemctl start docker
$ sudo systemctl enable docker

Install docker compose:

$ sudo apt-get install curl
$ mkdir -p ~/.docker/cli-plugins/
$ curl -SL https://github.com/docker/compose/releases/download/v2.3.3/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose
$ chmod +x ~/.docker/cli-plugins/docker-compose
$ sudo systemctl enable docker

Resolve permission issue:

$ sudo chmod -R 777 addons
$ sudo chmod -R 777 etc
$ mkdir -p postgresql
$ sudo chmod -R 777 postgresql

Start the container from the root of this project:

$ docker-compose up  -d

Then locate localhost:16000 to access Odoo 16.0.

Odoo is working.