[ADD] Hibou Athene, upstream builds, and runconfig for Odoo

This commit is contained in:
Jared Kipe
2021-12-09 19:08:41 -08:00
parent 71652ac6fe
commit 76dbca5474
5 changed files with 47 additions and 37 deletions

View File

@@ -18,21 +18,13 @@ set -e
if [ "$DEV_MODE_PATH" == "" ]
then
export DEV_MODE_PATH=/opt/odoo
export DEV_MODE_PATH=/opt/odoo/hibou-suite
fi
# setup development IDE
if [ "$DEV_MODE" == "exclusive" ]
if [[ -x "/opt/athene/entrypoint.sh" ]]
then
cd /opt/theia
exec node /opt/theia/src-gen/backend/main.js $DEV_MODE_PATH --hostname=0.0.0.0
elif [ "$DEV_MODE" != "" ]
then
cd /opt/theia
node /opt/theia/src-gen/backend/main.js $DEV_MODE_PATH --hostname=0.0.0.0 &
/opt/athene/entrypoint.sh
fi
# set the postgres database host, port, user and password according to the environment
# and pass them as arguments to the odoo process if not present in the config file
: ${HOST:=${DB_PORT_5432_TCP_ADDR:='db'}}