Created
May 26, 2024 21:46
-
-
Save mdsami/f115904f6babc176e982a088cbede03b to your computer and use it in GitHub Desktop.
metabase docker stack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
metabase: | |
image: metabase/metabase | |
ports: | |
- "8090:3000" | |
environment: | |
- MB_DB_TYPE=postgres | |
- MB_DB_DBNAME=metabase | |
- MB_DB_PORT=5432 | |
- MB_DB_USER=metabase | |
- MB_DB_PASS=password | |
- MB_DB_HOST=postgres | |
depends_on: | |
- postgres | |
postgres: | |
image: postgres | |
environment: | |
- POSTGRES_DB=metabase | |
- POSTGRES_USER=metabase | |
- POSTGRES_PASSWORD=password | |
volumes: | |
- db-data:/var/lib/postgresql/data | |
volumes: | |
db-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker volume create metabase_db-data