Skip to content

Commit

Permalink
Improve environment variables documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Nov 30, 2024
1 parent 718fc9a commit 9169995
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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):

Expand Down

0 comments on commit 9169995

Please sign in to comment.