A ready-to-run Odoo development environment using Docker Compose and Postgres, with VS Code Devcontainer support for a one-click setup.
- Odoo — built from a wrapper Dockerfile (
.devcontainer/Dockerfile), running with--dev=reload,qweb,xmlfor live-reloading during development - Postgres 16 — as the backing database, with a healthcheck so Odoo waits for the DB to be ready
.devcontainer— VS Code Dev Containers config so you can open this folder in a container with everything pre-wiredodoo.conf— Odoo server configuration (addons path, DB connection, logging)
- Open this folder in VS Code
- Install the Dev Containers extension
- Run "Reopen in Container"
docker compose upOdoo will be available at http://localhost:8069.
Drop your custom Odoo addons into the addons/ folder — it's mounted to /mnt/extra-addons inside the container and picked up automatically via odoo.conf.
The default docker-compose.yml uses simple credentials (odoo / odoo) for local development convenience. Do not use these defaults in production — swap in strong, unique credentials and environment-based secrets before deploying anywhere beyond your local machine.