apps(farrisilk): lab replica stack (Odoo 18 + plain Postgres + Metabase) on :8086/:8087
Odoo 18 (dated tag 18.0-20261112) on a plain postgres:16 container, not CNPG: the client runs bare Postgres on a Proxmox VM and this namespace mirrors that shape. Odoo's initContainer installs base,web once, applies the read-only BI grants/revokes and sets the admin login from a Secret. Metabase gets its own state in the same Postgres (db metabase) with a 1Gi heap and MB_ENCRYPTION_SECRET_KEY. Two bare-IP Gateways (8086 odoo, 8087 metabase) in ns internal, each with its own RouteConfiguration. Host firewall (nft on siriussec, ufw on rpi) carries 8086/8087 and was installed before the Gateways were pushed.
This commit is contained in:
parent
930752152e
commit
7f7f806616
14 changed files with 874 additions and 6 deletions
|
|
@ -7,14 +7,16 @@
|
|||
#
|
||||
# Ports: 8081 = Grafana (`internal` Gateway listener http-internal),
|
||||
# 8084 = Hubble UI (`internal` Gateway listener hubble-ui),
|
||||
# 8085 = Metabase (`metabase` Gateway listener http-internal).
|
||||
# 8085 = Metabase (`metabase` Gateway listener http-internal),
|
||||
# 8086 = Farrisilk lab Odoo (`farrisilk-odoo` Gateway),
|
||||
# 8087 = Farrisilk lab Metabase (`farrisilk-metabase` Gateway).
|
||||
# Add a new internal listener port to PORTS; the loop is idempotent, so
|
||||
# re-running after a port is already firewalled only adds what is missing.
|
||||
#
|
||||
# Run as root on rpi (192.168.1.125).
|
||||
set -euo pipefail
|
||||
|
||||
PORTS="${PORTS:-8081 8084 8085}"
|
||||
PORTS="${PORTS:-8081 8084 8085 8086 8087}"
|
||||
|
||||
for port in $PORTS; do
|
||||
if ufw status | grep -q "${port}/tcp"; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue