I've just started trying out Odoo. (v13.0)
I'd like to use docker to create a container that setups up Odoo the way I want it. I've used the official Odoo Docker images to install Odoo and it works well.
However, when I log in to the installed Odoo this way, I need to :
- log in
- create the database
- install each module I want to enable (official, not custom)
I would like to be able to push all of this into the Dockerfile so Odoo opens up configured with the modules I want to enable.
If it matters, I need this to work instead of just using persistence with Docker volumes because I want to be able to collaborate with other members of the organization in determining which subset of modules are useful, and do so in such a way that they just spin up the container and see what it would look like.
Any of the following ways would be fine :
- Some environment variables which control what gets installed
- Some parameters in the odoo.conf file which specifies what to enable
- Some CLI commands I can run once container spins up which triggers the install of modules
Any help moving in this direction would be appreciated.
I did see that. I wasn't able to find a list of what the modules are actually called, though, so I wasn't sure if that only applied to custom modules which could be named by folder or python package.
You can find a list in Developer mode when you look in the Apps Menu. They are the names of the folders. Python packages are installed when modules need them via the "external_dependencies" key - learn more at https://www.odoo.com/documentation/13.0/reference/module.html