Odoo local environment boilerplate with Docker/Podman, for development purpose
Find a file
2024-12-26 14:30:37 -10:00
config initial commit 2024-12-09 11:42:03 -10:00
.env.dist feat: update gitignore, add pg version and example env file 2024-12-23 15:18:15 -10:00
.gitignore feat: update gitignore to match symlinks 2024-12-24 08:08:52 -10:00
docker-compose.yml feat: update gitignore, add pg version and example env file 2024-12-23 15:18:15 -10:00
LICENSE initial commit 2024-12-09 11:42:03 -10:00
README.md initial commit 2024-12-09 11:42:03 -10:00

Odoocker

Odoo local environment boilerplate with Docker/Podman, for development purpose

Setup

Create enterprise directory (Enterprise&Odoo versions must match) - or delete it from compose and odoo.conf files

ln -s /path/to/you/enterprise/modules enterprise

Create an .env file in the project directory root to set up environment variables :

ODOO_VERSION=18.0
COMMAND=-d odoo

Start

docker-compose up -d

With the basic setup, it will create a new database odoo (master password odoo), with base&enterprise installed and demo data.

You can use the COMMAND var to custom the command at launch :

 COMMAND="-d odoo -i mymodule" docker-compose up -d

Odoo at (http://localhost:8089/web)[https://localhost:8089/web] Odoo database manager at (http://localhost:8089/web)[https://localhost:8089/web/database/manager]

Mailcatcher at (http://localhost:1080/)[http://localhost:1080/]