[IMP]Odoo v12 image : add LOAD and config for dbfilter
This commit is contained in:
parent
8b94b905ee
commit
887388c6e3
@ -42,4 +42,5 @@ limit_time_cpu = ${LIMIT_TIME_CPU:=120}
|
|||||||
limit_time_real = ${LIMIT_TIME_REAL:=240}
|
limit_time_real = ${LIMIT_TIME_REAL:=240}
|
||||||
limit_memory_soft = ${LIMIT_MEMORY_SOFT:=2684354560}
|
limit_memory_soft = ${LIMIT_MEMORY_SOFT:=2684354560}
|
||||||
limit_memory_hard = ${LIMIT_MEMORY_HARD:=6442450944}
|
limit_memory_hard = ${LIMIT_MEMORY_HARD:=6442450944}
|
||||||
|
database_from_hosts = ${DATABASE_FROM_HOSTS}
|
||||||
admin_passwd = ${ADMIN_PASSWORD:=admin}" > $CONF
|
admin_passwd = ${ADMIN_PASSWORD:=admin}" > $CONF
|
||||||
|
@ -3,5 +3,9 @@
|
|||||||
CONF=/opt/odoo/odoo.conf
|
CONF=/opt/odoo/odoo.conf
|
||||||
ODOOCMD="python3 /opt/odoo/OCB/odoo-bin --config $CONF"
|
ODOOCMD="python3 /opt/odoo/OCB/odoo-bin --config $CONF"
|
||||||
|
|
||||||
|
if [ $LOAD ]; then
|
||||||
|
ODOOCMD="$ODOOCMD --load=$LOAD"
|
||||||
|
fi
|
||||||
|
|
||||||
# Configuration generation and Odoo launch
|
# Configuration generation and Odoo launch
|
||||||
bash genconf.sh && $ODOOCMD
|
bash genconf.sh && $ODOOCMD
|
||||||
|
Loading…
Reference in New Issue
Block a user