Sign inSign up

repodb/insights-visualization

By repodb

Updated 2 months ago

A grafana-based official image, pre-provisioned with the default RepoDB Insights dashboards.

Image
Developer tools
Monitoring & observability
0

375

repodb/insights-visualization repository overview

RepoDB Insights Visualization (Grafana)

A Grafana-based official image, pre-provisioned with the default RepoDB Insights datasource and dashboards. No manual setup is needed after the container starts — the dashboards are available immediately under a Default folder.

Running with Docker

Create the network (skip if it already exists):

docker network create repodb

Run the image.

docker run -d --name repodb-insights-visualization \
  -p 3000:3000 \
  --network=repodb \
  -e GF_SECURITY_ADMIN_PASSWORD=RepoDB2026 \
  -e REPODB_PG_HOST=repodb-insights-postgres \
  -e REPODB_PG_PORT=5432 \
  -e REPODB_PG_PASSWORD=RepoDB2026 \
  -e REPODB_COMPANY_NAME="Acme Corp" \
  -e REPODB_COMPANY_LOGO="https://raw.githubusercontent.com/mikependon/RepoDB/refs/heads/master/128x128.png" \
  -e REPODB_API_KEY=RepoDB2026 \
  repodb/insights-visualization:latest

This assumes a — see RepoDB PGSQL is already running on the Docker under repodb network.

Note: Only the port 3000 is expose on this pre-built image.

Configuration

VariableDefaultDescription
GF_SECURITY_ADMIN_USERadminGrafana admin username.
GF_SECURITY_ADMIN_PASSWORD(not baked into the image)Grafana admin password. Not set in the Dockerfile — pass it in at runtime (Compose environment:/.env, or docker run -e). Grafana itself falls back to admin if it's never supplied. Always override for any non-local deployment.
GF_USERS_ALLOW_SIGN_UPfalseDisables public sign-up.
REPODB_PG_HOSTrepodb-insights-postgresHostname of the Postgres datasource. Matches the pgsql service name in the root docker-compose.yml; override for standalone runs or a differently-named container.
REPODB_PG_PORT5432Port of the Postgres datasource.
REPODB_PG_PASSWORDRepoDB2026Password for the postgres user Grafana connects with. Matches the default in src/Database; override to match if you've changed it there.
REPODB_COMPANY_NAMEYour Company NameCompany name shown in the Main and Group dashboards' headers ("Statistics for '...'"). Grafana's file provisioner doesn't expand ${...} inside dashboard JSON (only inside provisioning YAML), so this is substituted by docker-entrypoint.sh into both dashboard files at container start, before Grafana reads them — no rebuild needed.
REPODB_COMPANY_LOGORepoDB logo URLLogo image (<img src="...">) shown next to the company name in the Main and Group dashboards' headers. Substituted the same way as REPODB_COMPANY_NAME — can point at any publicly reachable image URL.
REPODB_API_KEYRepoDB2026API key used by the dashboards' Export links to call the RepoDB Insights Query API. Must match the API_KEY the Query API is running with, or exports will fail with an authorization error.

Tag summary

Content type

Image

Digest

sha256:31b879cee

Size

335.7 MB

Last updated

2 months ago

docker pull repodb/insights-visualization