|
In this section: |
This section provides prerequisites and describes how to deploy ibi Data Quality using Docker Compose.
Before continuing, ensure your system has the following prerequisites:
Install Docker as documented for your environment. To install Docker Desktop, follow the instructions found on the following website:
Install and configure Loqate as documented in the Omni-Gen® Address Cleansing (Loqate®) Installation and Configuration Guide:
https://docs.tibco.com/pub/og/3.16.0/doc/pdf/TIB_og_3.16.0_address_cleansing_install.pdf
To install WebFOCUS DSML Services Container Edition:
Download and Configure
ENV DSML_USER=dsml RUN adduser --disabled-password --gecos '' $DSML_USER
WORKDIR /metadata COPY --chown=$DSML_USER:$DSML_USER metadata /metadata/run_service
RUN chown -R $DSML_USER:$DSML_USER /metadata
The resulting file should look like the following:
#Create User ENV DSML_USER=dsml RUN adduser --disabled-password --gecos '' $DSML_USER WORKDIR /metadata RUN chown -R $DSML_USER:$DSML_USER /metadata COPY --chown=$DSML_USER:$DSML_USER metadata /metadata/run_service
Build Metadata Service Image
docker build --no-cache -t ibi2020/webfocus:metadata-9.0-1.0.0 .
Note: The dot (.) at the end is part of the command and must be included.
$ docker image ls ibi2020/webfocus REPOSITORY TAG IMAGE ID CREATED SIZE ibi2020/webfocus metadata-9.0-1.0.0 fd19b79b06d8 3 weeks ago 295MB
To install ibi Data Quality:
For example, if you extracted a Linux installation of Loqate in the C:\Loqate_Linux folder, then change the value of LOQATE_HOME in the .env file to:
LOQATE_HOME=C:/loqate_linux
Note: If you are using Docker Compose version 2.x and require profiler scaling, then you must edit the docker-compose.yaml file.
By default, the docker-compose.yaml file sets the scaling properties used by Docker Compose version 1.x:
dq-profiler:
build:
...
scale: ${PROFILER_SCALE}
# comment scale and use deploy section instead for compose
# version 2.x
# deploy:
# mode: replicated
# replicas: ${PROFILER_SCALE}For Docker Compose version 2.x, edit this section in the docker-compose.yaml file as follows:
dq-profiler:
build:
...
# scale: ${PROFILER_SCALE}
# comment scale and use deploy section instead for compose
# version 2.x
deploy:
mode: replicated
replicas: ${PROFILER_SCALE}docker-compose up --build
Note: ibi Data Quality is packaged with a self-signed certificate for HTTPS. It is recommended that you replace this with your own certificate. If you have a signed certificate and key, replace tdq-cert.crt and tdq-cert.key in the install/dq-nginx/dockerRoot folder with your own files, using those file names. If OpenSSL is available, then you can generate your own self-signed certificate by editing tdq-nginx-cert.conf and executing the command found in the gen-cert-script.txt file.
https://localhost:9800/
The default login credentials (user ID and password) are:
Note: It is recommended that you change the default login credentials in the User Management Console. For more information, see Managing Existing Users.
docker-compose up