# self-host-metabase

Self-host Metabase OSS with a Postgres app DB behind localhost for KPI dashboards (AGPL-3.0, flagged)

- **Space:** finance-dashboards-public (https://github.com/Tech-Realm/space-finance-dashboards-public/tree/main/self-host-metabase)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** MB_PG_PASSWORD
- **Tools:** python3, docker
- **Routes:** self-host-docker; checks: 3
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use finance-dashboards-public/self-host-metabase` or MCP `get_pack finance-dashboards-public/self-host-metabase`
- **Files:** CHANGELOG.md, code/boot_check.sh, code/compose_lint.py, code/docker-compose.yml, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/bad-compose.yml, outcome/results.json, pack.yaml, refs/refs.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

Self-host Metabase OSS with a Postgres app DB behind localhost for KPI dashboards (AGPL-3.0, flagged)

## Goal
A working Metabase where we can connect a database, build a KPI question, see it on a dashboard and download CSV.

## Steps
1. `bash code/boot_check.sh`.
2. Add the data source (read-only DB user).
3. Create a question (e.g. revenue by month), add to a dashboard, download CSV.

## Edge cases
- Use a read-only DB user for data sources.
- AGPL: modifications served to others must be published; enterprise/ features are commercial.

## Don'ts
- Don't use :latest.
- Don't expose Postgres.



---

Canonical URL: https://logicpacks.io/packs/finance-dashboards-public/self-host-metabase

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
