Installation (Docker Compose)

Self-hostedEnterprise Edition

This is a guide that explains how to run Data Mesh Manager Enterprise Edition (self-hosted) on a local machine using Docker compose.

If you use the community edition, follow the README on GitHub.

Prerequisites

  • Docker
  • Provided Credentials for the private container registry

Docker Credentials

Data Mesh Manager Enterprise Edition is available as Docker container image on a private repository. You get the credentials to access the private repository from your sales representative.

To authenticate log in with Docker:

docker login ghcr.io -u <provided-username> -p <provided-password>

Docker Compose

Create a docker-compose.yml file with the following content:

services:
  app:
    image: ghcr.io/datamesh-manager/datamesh-manager-enterprise:latest # or pin to a specific version
    platform: linux/amd64
    restart: always
    environment:
      - APPLICATION_HOST_WEB=http://localhost:8081
      - SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/postgres
      - SPRING_DATASOURCE_USERNAME=postgres
      - SPRING_DATASOURCE_PASSWORD=postgres
      - SPRING_MAIL_HOST=mailhog
      - SPRING_MAIL_PORT=1025
      - APPLICATION_DATACONTRACT_SPECIFICATIONS=odcs
      - APPLICATION_SUPERADMINS=
      - APPLICATION_SEARCH_ENABLED=false
      - APPLICATION_ACCESSREQUEST_AI_ENABLED=false
      - APPLICATION_COMPROMISEDPASSWORDCHECKER_ENABLED=true
    ports:
      - '8081:8080'
    depends_on:
      - postgres
      - mailhog
  postgres:
    image: pgvector/pgvector:pg16
    restart: always
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=postgres
    volumes:
      - postgres:/var/lib/postgresql/data
  mailhog:
    # Test SMTP server, does not actually send mails
    # View messages in the web UI http://localhost:8025
    image: mailhog/mailhog:latest
    restart: always
    ports:
      - "8025:8025"
volumes:
  postgres:
    driver: local

Find a documentation of the environment variables in the Configuration.

Start the Data Mesh Manager Enterprise Edition with Docker Compose:

docker compose up --detach

Check the logs of the Data Mesh Manager Enterprise Edition:

docker compose logs -f

Access Data Mesh Manager

Now you can access the Data Mesh Manager (Enterprise Edition) at http://localhost:8081.