Matchengine container

Container Name: matchengine
Image Name blackducksoftware/blackduck-matchengine:2024.10.0
Description Retrieves component match information from the Cloud Knowlegde Base.
Scalability

There can be multiple instances of this container.

Links/Ports
  • Does not expose any ports.

  • Connects externally to Cloud KB services

Connects internally to the following:

  • cffsl

  • logstash

  • registration

  • postgres

  • rabbitmq

Environment Variables

Environment variables as follows:

  • HUB_CFSSL_PORTHUB_MATCHENGINE_HOST

  • HUB_MAX_MEMORY

  • HUB_REGISTRATION_HOST

  • HUB_REGISTRATION_PORTHUB_POSTGRES_HOST

  • HUB_POSTGRES_PORT

  • RABBIT_MQ_HOST

  • RABBIT_MQ_PORT

Resources/Constraints
  • Default max Java heap size: 1GB

  • Container memory: 1GB reservation, 1.5GB limit

  • Container CPUs: 0.5 reservation, 1 limit

Users/Groups

This container runs as UID 100

If the container is started as UID 0 (root) then the user will be switched to UID 100:root before executing its main process.This container is also able to be started as a random UID as long as it is also started within the root group (GID/fsGroup 0).

Environment File blackduck-config.env