Metabase Docker Compose

version: '3.9'
services:
  metabase:
    image: metabase/metabase:latest
    container_name: metabase
    hostname: metabase
    volumes:
      - /data/opt/konteynerkent/metabase/app:/metabase
      - /data/opt/konteynerkent/metabase/data:/metabase-data
    ports:
      - 8006:3000
    environment:
      #- MB_DB_TYPE=postgres
      #- MB_DB_DBNAME=metabasedb
      #- MB_DB_PORT=5432
      #- MB_DB_USER=metabase_user
      #- MB_DB_PASS=Basar2024*
      #- MB_DB_HOST=10.100.50.80
       - MB_DB_CONNECTION_URI=jdbc:postgresql://{username}:{password}@{host}:{port}/{database_name}?sslmode=disable
    restart:
      on-failure
    logging:
      options:
        max-size: "16m"
        max-file: "64"

Add comment

Loading