Development Usage

Change the folder permission to make sure that the container is able to access the directory:

$ sudo chmod -R 777 addons
$ sudo chmod -R 777 config

Start the container:

$ docker-compose up
  • Then open localhost:8069 to access Odoo 12.0. If you want to start the server with a different port, change 8069 to another value:
ports:
 - "8069:8069"
  • Log file is printed @ config/odoo-server.log

To run in detached mode, execute this command:

$ docker-compose up -d

Custom addons

The addons folder contains custom addons. Just put your custom addons if you have any.

Odoo configuration

To change Odoo configuration, edit file: config/odoo.conf.

docker-compose.yml

  • odoo:12.0
  • postgres:10

Deployment on heroku