Run Metabase with Docker and Docker Compose, using PostgreSQL as application database.
Based on official docker images for PostgreSQL and Metabase.
-
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
)
https://www.metabase.com/docs/latest/operations-guide/running-metabase-on-docker.html https://github.com/Cambalab/metabase-compose