mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[ADD] Hibou Athene, upstream builds, and runconfig for Odoo
This commit is contained in:
@@ -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'}}
|
||||
|
||||
Reference in New Issue
Block a user