A grafana-based official image, pre-provisioned with the default RepoDB Insights dashboards.
375
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.
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.
| Variable | Default | Description |
|---|---|---|
GF_SECURITY_ADMIN_USER | admin | Grafana 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_UP | false | Disables public sign-up. |
REPODB_PG_HOST | repodb-insights-postgres | Hostname 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_PORT | 5432 | Port of the Postgres datasource. |
REPODB_PG_PASSWORD | RepoDB2026 | Password for the postgres user Grafana connects with. Matches the default in src/Database; override to match if you've changed it there. |
REPODB_COMPANY_NAME | Your Company Name | Company 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_LOGO | RepoDB logo URL | Logo 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_KEY | RepoDB2026 | API 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. |
Content type
Image
Digest
sha256:31b879cee…
Size
335.7 MB
Last updated
2 months ago
docker pull repodb/insights-visualization