Deploying a remote harvesting server using a docker-compose file - 7.3

Talend Data Catalog Installation and Upgrade Guide for Windows

author
Talend Documentation Team
EnrichVersion
7.3
EnrichProdName
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
task
Installation and Upgrade
EnrichPlatform
Talend Data Catalog
Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your harvesting server and run a single command to create and start it.

Before you begin

Procedure

  1. Create a YAML file, as follows:
    version: '3'
    
    services:
    	harvesting_agent:
    		container_name: "<CONTAINER_NAME>"
    		image: "<DOCKER_IMAGE:TAG>"
    		environment:
    		CLOUD_URL: "http://<server>:11480/MM"
    			AGENT_STRING: "<SHARED_SECRET>"
    		restart: "unless-stopped"
    You can define the following key parameters:
    Parameter Action
    CONTAINER_NAME Enter the name of your remote harvesting server.
    DOCKER_IMAGE:TAG Enter talend/datacatalog-remote-harvesting-agent as the Docker image.

    Enter the version name of Talend Data Catalog build as the tag, such as 7.3-20200615.

    For example, you can type in talend/datacatalog-remote-harvesting-agent:7.3-20200615.

    You can find the Talend Data Catalog versions on https://hub.docker.com/r/talend/datacatalog-remote-harvesting-agent/tags.

    CLOUD_URL

    Enter the URL of the Talend Data Catalog application server.

    AGENT_STRING Type in a shared secret set to anything as long it is:
    • unique,
    • reasonably descriptive so it can usefully be identified in the UI,
    • hard to guess since it also works as a shared secret string.
  2. Save as a YAML file on your machine.
  3. Open a command prompt or a terminal window and execute docker-compose to verify that Docker Compose is installed.
    For Windows, use PowerShell.
  4. Execute the following command to start Compose and run the container:
    docker-compose -f <filename> up -d
  5. Execute docker ps or go to Docker Desktop and check that the Docker container is running.
    In case of error, check the Compose file.

Results

You are ready to add the remote harvesting server in Talend Data Catalog.