Skip to content

Commit

Permalink
docs: reorder vars
Browse files Browse the repository at this point in the history
  • Loading branch information
rubencabrera committed Jul 4, 2024
1 parent bd4bec3 commit 4191198
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 20 deletions.
31 changes: 14 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,41 +38,37 @@ same name in lower case:

| ENV var | Default value |
| --- | --- |
| `ODOO_DB_USER` | `odoo` |
| `LOG_HANDLER` | `"[':INFO']"` |
| `LOG_LEVEL` | `info` |
| `LOG_DB` | `False` |
| `LOGFILE` | `"/var/log/odoo"` |
| `LOGROTATE` | `True` |
| `CSV_INTERNAL_SEP` | `";"` |
| `ADMIN_PASSWD` | `admin` |
| `DB_HOST` | `localhost` |
| `CSV_INTERNAL_SEP` | `";"` |
| `DATA_DIR` | `/var/lib/odoo` |
| `DB_HOST` | `db` |
| `DB_FILTER` | `"^%d"` |
| `DB_MAXCONN` | `64` |
| `DB_NAME` | `False` |
| `DB_PASSWORD` | `odoo` |
| `DB_PORT` | `5432` |
| `DB_USER` | `odoo` |
| `DB_PASSWORD` | `odoo` |
| `DB_TEMPLATE` | `template1` |
| `DB_NAME` | `False` |
| `DB_MAXCONN` | `64` |
| `DB_FILTER` | `"^%d"` |
| `DB_MAXCONN` | `64` |
| `DEBUG_MODE` | `False` |
| `EMAIL_FROM` | `False` |
| `GEVENT_PORT` | `8072` |
| `LIMIT_MEMORY_HARD` | `2684354560` |
| `LIMIT_MEMORY_SOFT` | `2147483648` |
| `LIMIT_REQUEST` | `8192` |
| `LIMIT_TIME_CPU` | `60` |
| `LIMIT_TIME_REAL` | `120` |
| `LIST_DB` | `True` |
| `LONGPOLLING_PORT` | `8072` |
| `LOG_DB` | `False` |
| `LOG_HANDLER` | `"[':INFO']"` |
| `LOG_LEVEL` | `info` |
| `LOGROTATE` | `True` |
| `MAX_CRON_THREADS` | `2` |
| `OSV_MEMORY_AGE_LIMIT` | `1` |
| `OSV_MEMORY_COUNT_LIMIT` | `False` |
| `PG_PATH` | `None` |
| `PIDFILE` | `None` |
| `PROXY_MODE` | `False` |
| `REPORTGZ` | `False` |
| `SECURE_CERT_FILE` | `"server.cert"` |
| `SECURE_pkey_FILE` | `"server.pkey"` |
| `SECURE_PKEY_FILE` | `"server.pkey"` |
| `SERVER_WIDE_MODULES` | `None` |
| `SMTP_PASSWORD` | `False` |
| `SMTP_PORT` | `25` |
Expand All @@ -85,6 +81,7 @@ same name in lower case:
| `TEST_FILE` | `False` |
| `TEST_REPORT_DIRECTORY` | `False` |
| `TIMEZONE` | `False` |
| `TRANSIENT_AGE_LIMIT` | `1` |
| `TRANSLATE_MODULES` | `"['all']"` |
| `UNACCENT` | `True` |
| `WITHOUT_DEMO` | `True` |
Expand Down
3 changes: 0 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ set -e
: ${XMLRPC_PORT:="8069"}
: ${XMLRPCS:="True"}
: ${XMLRPCS_PORT:="8071"}
# Estas no las estabamos metiendo:
## echo 'logfile = '${LOGFILE:-"/var/log/odoo/odoo-server.log"} >> /opt/config/odoo-server.conf; \
## echo 'pg_path = '${PG_PATH:-None} >> /opt/config/odoo-server.conf; \

function write_conf() {
param="$1"
Expand Down

0 comments on commit 4191198

Please sign in to comment.