Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

senzing-garage/entity-search-web-app-console

Repository files navigation

entity-search-web-app-console

⛔ Deprecated

The use of this console has been discontinued.

No Maintenance Intended

If you are beginning your journey with Senzing, please start with Senzing Quick Start guides.

You are in the Senzing Garage where projects are "tinkered" on. Although this GitHub repository may help you understand an approach to using Senzing, it's not considered to be "production ready" and is not considered to be part of the Senzing product. Heck, it may not even be appropriate for your application of Senzing!

Synopsis

The senzing/entity-search-web-app-console docker image is used for creating a running Docker container configured to run Senzing programs and utilities through the entity-search-web-app's xterm console(/admin/console). For security and modularity reasons the web based console is a separate container from the webapp itself.

Overview

The default behavior when running docker run is for the container to spin up a PTY and serve up a bidirection websocket server to allow the webapp to send and recieve input to that PTY.

Prerequisite software

The following software programs need to be installed:

  1. docker
  2. docker-compose

Pull latest docker images

  1. Pull the latest release of this app from Docker Hub. Example:

    sudo docker pull senzing/entity-search-web-app-console

Configuration

Environment Variables

  • SENZING_CONSOLE_SERVER_PORT is the port to run the xterm server on.
  • SENZING_CONSOLE_SERVER_URL is the full url that the console server should respond to. So if your console server is running on port 2370 it would be https://mydomain:2730. If you are running behind a virtual path like /app/console it would be https://mydomain:2730/app/console. This variable has to be mirrored in the configuration of the entity-search-web-app configuration. If misconfigured the console functionality will not be available in the UI.

Cmdline Switches

  • webServerPortNumber is the port to run the xterm server on.
  • confServerPortNumber is the full url that the console server should respond to. So if your console server is running on port 2370 it would be https://mydomain:2730. If you are running behind a virtual path like /app/console it would be https://mydomain:2730/app/console. This variable has to be mirrored in the configuration of the entity-search-web-app configuration. If misconfigured the console functionality will not be available in the UI.

Air Gapped Environments

Obviously if your deployment environment is highly restricted you're probably going to run in to issues downloading the latest images from that context. Please refer to "Install docker image in an air-gapped environment" for how to procedure regarding this use-case.

The short version is find a machine with network access, then:

  1. Pull the docker images you need to that machine.

  2. Package them as a tar file. Example:

    sudo docker save senzing/entity-search-web-app-console --output senzing-entity-search-web-app-console-latest.tar
  3. Copy that to the deployment machine.

  4. Load via

    sudo docker load --input senzing-entity-search-web-app-console-latest.tar

Building from Source

  1. Build the web app console. Example:

    sudo docker build --tag senzing/entity-search-web-app-console .
  2. Run the app. Example:

    sudo docker-compose up

License

View license information for the software container in this Docker image. Note that this license does not permit further distribution.

This Docker image may also contain software from the Senzing GitHub community under the Apache License 2.0.

Further, as with all Docker images, this likely also contains other software which may be under other licenses (such as Bash, etc. from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.