apps(farrisilk): name Odoo's database odoo (align with the BI grants + Metabase source)
The card's build section names db `odoo` (owner odoo) and points Metabase at pg.../odoo, while its Odoo config line said db_name=farrisilk — the two cannot both hold. Aligned on `odoo`: db_name/dbfilter in odoo.conf and the init script's ODOO_DB_NAME. The renamed database kept its data (partner 7, product template 1, base+web+product installed).
This commit is contained in:
parent
7f7f806616
commit
4891694f6f
2 changed files with 5 additions and 5 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# construction, so a restart never re-initialises a live database.
|
||||
#
|
||||
# 1. wait for Postgres
|
||||
# 2. if the `farrisilk` database has no tables: `odoo -i base,web
|
||||
# 2. if the `odoo` database has no tables: `odoo -i base,web
|
||||
# --without-demo=all --stop-after-init` (the "init once" step, done by the
|
||||
# pod rather than by a separate Job so there is exactly one thing to wait
|
||||
# on and no ordering race between a Job and the Deployment)
|
||||
|
|
@ -35,7 +35,7 @@ data:
|
|||
PORT = int(os.environ.get("DB_PORT", "5432"))
|
||||
SUPER_USER = os.environ["PG_SUPERUSER"]
|
||||
SUPER_PW = os.environ["PG_SUPERPASS"]
|
||||
DB = os.environ.get("ODOO_DB_NAME", "farrisilk")
|
||||
DB = os.environ.get("ODOO_DB_NAME", "odoo")
|
||||
CONF = "/etc/odoo-runtime/odoo.conf"
|
||||
ADMIN_LOGIN = os.environ["ODOO_ADMIN_LOGIN"]
|
||||
ADMIN_PASSWORD = os.environ["ODOO_ADMIN_PASSWORD"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue