Mobb Broker

Mobb supports source code repositories that are hosted in an on-premise environment by using the Mobb broker. The Mobb broker provides organizations with the following benefits:

  • Mobb broker allows you to connect to your hosted/on-premise source code repositories to Mobb to perform the fix analysis without having to manually upload the source code as a zip file.

  • Mobb broker allows you to easily commit fixes back into your source code repositories by automatically creating a Pull Request for your team to review.

Note that Mobb broker only supports single-tenant Mobb instances for now. Support for public tenants will be available in the near future.

Docker command

Mobb docker can be deployed on any machine with a docker host. Here is the docker command:

docker run --platform linux/amd64 --network="host" -d \
-e FRP_BROKER_SERVER_HOST='YOUR_SINGLE_TENANT_ID.mobb.ai' \
-e FRP_BROKER_AUTH_TOKEN='YOUR_BROKER_TOKEN_VALUE' \
-e FRP_BROKERED_DOMAIN='YOUR_SCM.onemobb.net' \
-e TARGET_SERVER_URL='https://YOUR_SCM_SERVER_ADDRESS' \
-e TARGET_DISABLE_CERT_VALIDATION='true' \
-e HOST_HEADER_OVERWRITE='YOUR_SCM_SERVER_ADDRESS' \
--name frpc_container mobbai/broker-frpc

Specific set-up instructions for AWS ECS

  1. Navigate to ECS Task Definitions in the AWS Console.

  2. Create a new task definition and select AWS Fargate as the launch type.

  3. Set the following configurations for the task definition:

    1. Container Name: Choose a suitable name for your container.

    2. Image URI: Use the following Docker image URI: docker.io/mobbai/broker-frpc:latest.

4. Configure the required Environment Variables:

  • FRP_BROKER_SERVER_HOST= https://YOUR_SCM_SERVER_ADDRESS

  • FRP_BROKER_AUTH_TOKEN

  • FRP_PROXY_URL

  • FRP_BROKERED_DOMAIN=YOUR_SCM.onemobb.net

  • TARGET_SERVER_URL

  • TARGET_PROXY_URL

  • HOST_HEADER_OVERWRITE=YOUR_SCM_SERVER_ADDRESS

  • Note:

    • Environment variables related to proxy settings (FRP_PROXY_URL, TARGET_PROXY_URL) are optional based on your specific requirements

    • Environment variable TARGET_DISABLE_CERT_VALIDATION - value: ‘true’ - optional, needed only if the SCM server doesn’t provide a trusted certificate

  1. After completing the task definition setup, go to ECS Clusters.

  2. Create a new cluster and select the task definition you just created.

Last updated