Skip to main content

Determining a task host in a local development environment

Some Brightspot configurations include the Task Host field. This field represents the IP address or name of the host running background tasks. In a local development environment, the host name is typically the ID of the docker container running Tomcat. The following procedure describes how to determine that host name.

To determine a container's host name:

  1. In a terminal, list the running docker containers: docker ps.

  2. Copy the container ID for the image brightspot/tomcat.

    $ docker ps
    CONTAINER ID IMAGE
    e2401ba3211c brightspot/tomcat:9-jdk11
    0bd9ff62aa55 brightspot/solr:8
    8c898e21204f brightspot/apache:2-dims3
    cec49d1303b8 brightspot/mysql:mysql5.6
    • 3. Container running Tomcat.

Referring to the above example, the ID for the container running Tomcat is e2401ba3211c. You enter this value in Task Host fields.