metabase icon indicating copy to clipboard operation
metabase copied to clipboard

Docker Compose for Metabase with PostgreSQL as Application Database

Metabase with Docker Compose

Run Metabase with Docker and Docker Compose, using PostgreSQL as application database.

Based on official docker images for PostgreSQL and Metabase.

Usage

  • Clone this repository.

  • Copy .env.sample to .env and adjust the variables.

  • Start services locally using Docker Compose.

    $ docker compose up
    

Metabase can connect to host (host.docker.internal) from static IP 172.16.200.30, (static IP can be used for authentication. e.g. in pg_hba.conf)

References

https://www.metabase.com/docs/latest/operations-guide/running-metabase-on-docker.html https://github.com/Cambalab/metabase-compose