Databases and search, checked 2026-09-07

Metabase: Docker configuration reference

Self-hosted business intelligence tool for dashboards, charts and ad-hoc SQL over connected databases.

At a glance

Ports

Ports
PortWhat listensSource
3000HTTP listener for the application. Configurable via MB_JETTY_PORT.source for port 3000

Environment variables

Environment variables
VariableRequiredWhat it doesExampleSource
MB_DB_TYPENoApplication database type: h2, postgres or mysql. Defaults to an embedded H2 file, which is lost if the container is removed.postgressource for MB_DB_TYPE
MB_DB_HOSTNoHost name or IP of the application database, used when MB_DB_TYPE is not h2.dbsource for MB_DB_HOST
MB_SITE_URLNoURL used for email links, auth redirects and embedding. A protocol mismatch here breaks SSO and embedding even if the app is otherwise reachable.https://metabase.example.comsource for MB_SITE_URL
MB_JETTY_HOSTNoNetwork interface the embedded Jetty server binds to. Defaults to localhost for the JAR but 0.0.0.0 for the Docker image.0.0.0.0source for MB_JETTY_HOST
JAVA_OPTSNoJVM options, most commonly used to raise the heap size when Metabase runs out of memory under load.-Xmx2gsource for JAVA_OPTS

Volumes that must persist

Volumes
PathWhat is in itSource
/metabase-dataHolds the embedded H2 database file when MB_DB_FILE points here, so the default application data survives a container restart. Not recommended for production regardless.source for /metabase-data

Behind a reverse proxy

Release timeline

Releases
VersionDateBreakingWhat changedSource
v0.63.162026-09-01NoEncrypts subscription and alert recipient details and fixes several security issues in JWT SSO group sync and Slack bug-report auth.source for release v0.63.16
v0.63.152026-08-26NoAdds a setting to sign session keys with a server-side secret and tightens several permission checks.source for release v0.63.15
v0.63.142026-08-20YesSecurity hardening release. No longer supports undocumented API usage; export endpoints now require a non-blank id for every query parameter.source for release v0.63.14
v0.63.22026-07-29NoBug fixes for modular embedding's CollectionBrowser and conditional formatting on out-of-range values.source for release v0.63.2
v0.63.12026-07-21YesUpdated the bundled Sample Database, changing it from the previous H2-based version.source for release v0.63.1

If it is not coming up

Read from the upstream documentation, repository and container registry by Keita Emsden on 2026-09-07. Every row links the page it came from. Upstream changes without telling anyone, so check the source link before you rely on a value.

Other app references

All app references