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