Skip to content

diploi/odoo-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run Odoo - Open source ERP and CRM on Diploi

Template runs Odoo version 16 plus a PostgreSQL 14.1 database.

Odoo

Based on Odoo version 16 docker with minor Diploi customizations.

Login to Odoo with user admin. An initial password is generated for every project. To find password, open Diploi project and check project options.

For the Odoo container there are separate ssh logins for users odoo and root. For security reasons there is no sudo from odoo to root. However it is possible to restart odoo using command supervistoctl restart odoo

Custom modules are linked to git repository, hosted at /mnt/extra-addons. This folder is persisted in the development version and non-persisted for staging and development.

Data folder /var/lib/odoo is persisted always

PostgreSQL

Available eg. with a VSCode extension (SQLTools) or by CLI.

Connect via SQLTools

  1. Open VSCode remote connection to your deployment.
  2. Install the SQLTools and SQLTools PostgreSQL/Redshift Driver extensions.
  3. Open the "SQLTools" tab in the sidebar and click "Strapi".

Connect via CLI

su postgres -c 'psql'