Metabase Analytics Stack
Metabase + Postgres backend — production-configured analytics with persistent storage, ready for your data source.
Metabase Analytics Stack
A production-ready Metabase deployment backed by Postgres instead of the default H2 embedded database. Persistent storage, proper volume mounts, and a health check — point it at your data source and start building dashboards immediately.
What's Included
- Metabase Latest — Full-featured BI and analytics platform pre-configured for Postgres backend storage
- PostgreSQL 16 — Stores Metabase application data (questions, dashboards, users, permissions) with persistent named volume
Production-Ready Setup
- Postgres backend replaces the default H2 embedded database — no data loss on upgrades or restarts
- Named volumes for both Metabase data and Postgres — everything persists through
docker compose down - Java heap size tuned via
JAVA_OPTSfor predictable memory usage - Health check on Postgres — Metabase waits until the application DB is ready before initializing
- Timezone and locale set via environment variables
- Reverse-proxy-ready: exposes port 3000, easy to put behind Nginx or Traefik
What You Get
docker-compose.yml— production-configured two-service stack.env.examplewith every variable documented including DB connection, Java tuning, and site URLREADME.md— setup guide, first-run walkthrough, connecting data sources, and upgrade notes
Service URLs
| Service | URL |
|---|---|
| Metabase Dashboard | http://localhost:3000 |
Requirements
Docker Engine with the Compose plugin. 2 GB RAM minimum; 4 GB recommended for larger datasets and concurrent users.