Docker

Deploy all InLong module by Docker Compose, it’s only available for development.

Notice: The default message queue is Apache Pulsar for Docker.

Requirements:

  • Docker 19.03.1+
  • Docker Compose 1.29.2+

Build

You can refer to How to Build.

Deploy

Start all components.

  1. cd docker/docker-compose
  2. docker-compose up -d

Register Cluster

DataProxy Cluster

Open the Inlong-Dashboard page (the default is http://127.0.0.1), and select to add a DataProxy cluster on the [Clusters] tab:

Docker - 图1

Click the [Create] button, and fill in the cluster name, cluster label, and responsible person in the pop-up box to save.

Note: [Cluster Tag] is a logical concept. Tags with the same name will be regarded as the same cluster.

For example, the DataProxy cluster and the Pulsar cluster with the same cluster tag belong to the same cluster.

Then add nodes to this DataProxy cluster - a DataProxy cluster can support adding multiple nodes:

Docker - 图2

Just fill in the IP and port of the DataProxy node.

Docker - 图3

Pulsar Cluster

Similar to the above entry for adding a DataProxy cluster, the filling example is as follows:

Docker - 图4

Usage

After all containers run successfully, you can access http://localhost with default account:

  1. User: admin
  2. Password: inlong

Destroy

  1. docker-compose down