[REL] Athene

This commit is contained in:
Jared Kipe
2022-01-17 09:20:06 -08:00
parent 37fd210fd5
commit 00f02cc0ee
7 changed files with 155 additions and 3 deletions

View File

@@ -2,6 +2,29 @@
set -e
# DEV_MODE=exclusive
# Will start the Theia IDE in the foreground, you can then start Odoo from a terminal.
# DEV_MODE=1
# Will start the Theia IDE in the background, regular Odoo commands will still work.
# Note that in Theia you can re-start Odoo e.g.
# `kill -s SIGHUP 1` to reload/restart Odoo
# `kill -s SIGQUIT 1` to cause Odoo to dump stacktrace in standard out
# Note that with Odoo running in the foreground, killing Odoo will kill the container.
# DEV_MODE=
# Unset to not use Theia at all.
#
# DEV_MODE_PATH=/opt/odoo/addons
# To change the path to start Theia in, useful to get git working.
if [ "$DEV_MODE_PATH" == "" ]
then
export DEV_MODE_PATH=/opt/odoo/hibou-suite
fi
if [[ -x "/opt/athene/entrypoint.sh" ]]
then
/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'}}