Skip to content

Commit 8a06340

Browse files
authored
Merge pull request #96 from sebalix/fix_dockerfile_odoo_data_path
FIX: Set ODOO_DATA_PATH environment variable for Odoo 9.0 and 10.0
2 parents ba933fd + 5b5547f commit 8a06340

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

10.0/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ ENV ODOO_VERSION=10.0 \
6666
DB_PASSWORD=odoo \
6767
ODOO_BASE_URL=http://localhost:8069 \
6868
ODOO_REPORT_URL=http://localhost:8069 \
69+
# the place where you put the data of your project (csv, ...)
70+
ODOO_DATA_PATH=/odoo/data \
6971
DEMO=False \
7072
ADDONS_PATH=/odoo/local-src,/odoo/src/addons \
7173
OPENERP_SERVER=/etc/odoo.cfg

9.0/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ ENV ODOO_VERSION=9.0 \
6767
DB_PASSWORD=odoo \
6868
ODOO_BASE_URL=http://localhost:8069 \
6969
ODOO_REPORT_URL=http://localhost:8069 \
70+
# the place where you put the data of your project (csv, ...)
71+
ODOO_DATA_PATH=/odoo/data \
7072
DEMO=False \
7173
ADDONS_PATH=/odoo/local-src,/odoo/src/addons \
7274
OPENERP_SERVER=/etc/odoo.cfg

0 commit comments

Comments
 (0)