Odoo local environment boilerplate with Docker/Podman, for development purpose
|
|
||
|---|---|---|
| config | ||
| .env.dist | ||
| .gitignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| LICENSE | ||
| README.md | ||
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 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/