From 916999526d4250fb1a69fb5c10e7fc8950c3945a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 30 Nov 2024 14:18:46 +0100 Subject: [PATCH] Improve environment variables documentation --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f498b70..9ae23f7 100644 --- a/README.md +++ b/README.md @@ -58,9 +58,10 @@ For more details, read [./bin/entrypoint.sh](./bin/entrypoint.sh). ### Configuration The following environment variables are used to generate the Odoo -configuration file in `$ODOO_RC`: +configuration file in `$ODOO_RC`. + +Odoo options: -- `ADDITIONAL_ODOO_RC` - `ADDONS_PATH` - `ADMIN_PASSWD` - `DB_FILTER` @@ -89,13 +90,18 @@ configuration file in `$ODOO_RC`: - `LOG_LEVEL` - `LOGFILE` - `MAX_CRON_THREADS` -- `RUNNING_ENV` - `SERVER_WIDE_MODULES` (\>=10) - `SYSLOG` - `UNACCENT` - `WITHOUT_DEMO` - `WORKERS` +Other variables that populate `$ODOO_RC`: + +- `RUNNING_ENV`: sets `options.running_env` for use by the [OCA + server_environment](https://github.com/OCA/server-env) module. +- `ADDITIONAL_ODOO_RC`: is appended verbatim a the end of `$ODOO_RC˘. + The following environment variables are processed by the entrypoint, if the psql client is installed (which is not the case by default):