Odoo local environment boilerplate with Docker/Podman, for development purpose
Find a file
Matt Marcha 42db692c05 feat(build): auto-install module dependencies
Before this commit, modules dependencies needed to be added individually
in the Dockerfile. Dependencies whithout distribution packages required
to use pip and --break-system-packages options.
This commits creates a virtualenv on top of system packages at build,
and automates the installation of dependencies declared in
requirements.txt files at the root of each module folder.
2026-09-02 14:22:06 +02:00
config feat(conf): load demo data 2025-12-01 10:31:49 -10:00
.env.dist feat: Update example env file 2025-11-19 14:16:34 -10:00
.gitignore feat: Add env var for enterprise directory & improve readme 2025-01-21 14:00:24 -10:00
docker-compose.yml build: Add option for customize with Dockerfile 2025-11-05 09:24:56 -10:00
Dockerfile feat(build): auto-install module dependencies 2026-09-02 14:22:06 +02:00
LICENSE initial commit 2024-12-09 11:42:03 -10:00
README.md feat(build): auto-install module dependencies 2026-09-02 14:22:06 +02:00

Odoocker

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

Setup

  • If not enterprise version, remove the enterprise line in compose file
  • Put your custom modules in ./modules
  • Duplicate env.dist to create an .env file in the project directory root to set up your environment variables
  • If you want to customize the build (e.g. install dependencies) using the Dockerfile, remove the line image: in the docker-compose file.

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

Use

Odoo at localhost:8089/web
Odoo database manager at localhost:8089/web/database/manager

Mailcatcher at localhost:1080/