What is Metabase?
Metabase’s superpower is that the marketing team uses it without filing tickets: point-and-click questions, sensible charts, dashboards, and scheduled email reports - with full SQL one click away for those who want it. It connects to practically every database.
This template runs the OSS image with its app database on a managed Postgres (the embedded H2 default is explicitly non-production upstream - this template never touches it). With the external app DB the container is stateless: questions, dashboards, and users live in Postgres; your analytics data stays in the warehouses Metabase queries.
It pairs naturally with the rest of the catalogue: point it at your clickhouse, timescaledb, mssql, or mongodb stacks by service name and the whole project gets dashboards.
What you get
- Point-and-click question builder + native SQL editor
- Dashboards with filters, drill-through, and scheduled email/Slack reports
- Connects to Postgres, MySQL, ClickHouse, SQL Server, Mongo, and more
- Stateless container on a managed Postgres app DB - clean ops
- Embedding and public sharing of charts
- OSS core - the same engine Metabase Cloud runs
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
metabase | Metabase UI + API (:5000) | yes |
db | Postgres app DB - managed on Lyngbak, container locally | no |
Before you deploy
MB_SITE_URLset to the app’s https domain after first deploy (links and embeds)
Sizing and billing
Metabase is a JVM app: 2 GiB container with a 1 GB heap is the practical floor, and startup takes a minute or two. Scale up with concurrent dashboard users.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 5 GiB of volumes cost $0.15 per GiB a month ($0.75/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| Metabase Cloud | Starter | $100/mo | base with 5 users included, then $6/user/mo |
Same OSS core. Cloud adds hosting and support; Pro features (SSO, sandboxing) are a separate $575/mo tier either way. Prices from each vendor's pricing page, June 2026.
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
How does self-hosted Metabase compare to Metabase Cloud?
Metabase Cloud Starter prices a monthly base that covers 5 users, plus a fee per extra user. This stack has no user count - unlimited users on the identical OSS core. Cloud buys you their hosting and upgrades; the Pro feature set (SSO, sandboxing) is a separate paid tier in either case.
Where does my data live?
Your analytics data never moves - Metabase queries your databases where they are. Only the app database (questions, dashboards, users) lives in the managed Postgres, which is exactly what gets backed up.
Can it query the other stacks in this catalogue?
Yes - in-project databases are reachable by service name: clickhouse ch-1:8123, timescaledb:5432, mssql:1433, mongo-1:27017. Add them as data sources and dashboard the lot without anything leaving the project network.
Why does the template insist on an external app database?
Metabase’s embedded H2 is documented as non-production - it corrupts under concurrent use and complicates upgrades. The managed Postgres removes the failure mode entirely and makes the Metabase container disposable.