From 835aca780d810e437606c4867bc885f89b227f71 Mon Sep 17 00:00:00 2001 From: Fabien Bourgeois Date: Fri, 7 Oct 2016 08:45:03 +0200 Subject: [PATCH] [IMP]Odoo image : add ENV for data directory --- odoo/odoo/genconf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/odoo/genconf.sh b/odoo/odoo/genconf.sh index 3120ea8..0b4e6bd 100644 --- a/odoo/odoo/genconf.sh +++ b/odoo/odoo/genconf.sh @@ -25,7 +25,7 @@ echo " [options] ; Configuration file auto-generated addons_path = $ADDONS_PATH -data_dir = /opt/odoo/data +data_dir = ${DATA:=/opt/odoo/data} db_host = ${DB_HOST:=postgres} db_port = ${DB_PORT:=5432} db_user = $POSTGRES_USER