Back to Apps
Metabase

Deploy Metabase on Your Own Server

Metabase is the easy, open source way for everyone in your company to ask questions and learn from data.

πŸ“¦ Other

Want to deploy Metabase on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.

Get Started

What is Metabase?

Metabase is the easy, open source way for everyone in your company to ask questions and learn from data.

Learn more

Self-Host Metabase

Follow these steps to deploy on your own server.

1

Install Docker

Skip this step if Docker is already installed on your server.

curl -fsSL https://get.docker.com | sh
2

Configure

Customize the settings below. Defaults work for most cases.

3

Deploy

Copy the configuration and run it on your server.

services:
  metabase:
    image: metabase/metabase:v0.38.0-rc1
    environment:
      MB_DB_DBNAME: metabase
      MB_DB_HOST: metabase-db
      MB_DB_PASS: b3d888b4c29bc038
      MB_DB_PORT: "5432"
      MB_DB_TYPE: postgres
      MB_DB_USER: metabase
      MB_EMAIL_SMTP_HOST: ""
      MB_EMAIL_SMTP_PASSWORD: ""
      MB_EMAIL_SMTP_PORT: ""
      MB_EMAIL_SMTP_USERNAME: ""
    volumes:
      - metabase-data:/metabase-data
  metabase-db:
    image: postgres:12-alpine
    environment:
      POSTGRES_DB: metabase
      POSTGRES_PASSWORD: b3d888b4c29bc038
      POSTGRES_USER: metabase
    volumes:
      - metabase-db:/var/lib/postgresql/data
volumes:
  metabase-data: {}
  metabase-db: {}

Then run:

docker compose up -d
4

Access

Once started, access your app at http://localhost:3000

Why Self-Host Metabase?

Full Data Ownership

Your data stays on your servers. No third-party access.

No Monthly Fees

Pay only for your server. No per-seat or usage charges.

Complete Control

Customize, backup, and scale on your own terms.

Privacy & Compliance

Meet GDPR, HIPAA, or internal security requirements.

Technical Details

Docker Image

metabase/metabase:${mb_version}

Official Docs

www.metabase.com

Want to go faster?

Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.

Install on any Linux server:

sh -c "$(curl -sSL https://get.senate.sh)"