Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.94 KB

README.md

File metadata and controls

40 lines (29 loc) · 1.94 KB

Odoo Docker

Resources to build custom Docker image for Odoo

Run the project

docker-compose up

Environment variables

Additionally, the image will accept the following environment variable when run:

Variable name Default Description
HOST db Database hostname
PORT 5432 Database port
USER odoo Database username
PASSWORD odoo Database password
DB_NAME odoo Database name
ADDONS List of addons to be pre-installed
INITIALIZER_CONFIG_FILE_PATH Odoo Intializer configuration path (only if Odoo Initializer addon is installed)
INITIALIZER_DATA_FILES_PATH Odoo Intializer data files path (only if Odoo Initializer addon is installed)

Volumes

Data volumes

/var/lib/odoo: Odoo data files path

Other:

/mnt/extra-addons: Additional addons path. Any addon provided in this folder will be automatically installed on first start of the image.

/etc/properties: Path to provide alternative odoo.conf file