/OdooComposeStarter

An easy way to bootstrap a dockerised odoo instance

Primary LanguageShell

OdooComposeStarter

An way to setup odoo in a dockerised form. This is heavily inspired from nginx-certbot and InstallScript.

How to

  1. Install Docker Recommended

  2. Install Docker Compose

  3. Modify configuration in nginx/odoo.conf, init_cert.sh, config/odoo.conf with the appropriate config/credentials.

  4. Build the image

    docker-compose build
    
  5. Run the init script(Ensure that you have made the appropriate dns mapping for the server at your domain provider):

    ./init-cert.sh
    
  6. Start

    docker-compose up -d
    

Adding custom addons

Make a folder called addons and add your addons there and restart your server with docker-compose down and docker-compose up -d

Changing odoo version

Change the base image in Dockerfile