Building and Running Docker Image for the TIBCO PSC All-in-one Container
Before you run TIBCO PSC all-in-one container, you must build a Docker image of it.
Before you begin
- Ensure that you have Dockerfile for TIBCO PSC all-in-one Container. ReadMe.txt and Dockerfile are available in the build/PSC_ALLINONE directory.
- Enable
squash
as an Experimental feature through Docker configuration. For more information, see Docker documentation.
- Procedure
- Build the MDMAllInOne image. (Follow the instructions given in the TIBCO MDM Cloud Deployment Guide)
- Copy the TIBCO PSC installer file (TIB_cim-ac_5.1.0_linux_x86_64.zip) to the directory where the Dockerfile is located at
build/PSC_ALLINONE
. - On the command line, enter the following command:
$> docker build -t psc-all-in-one:5.1.0.latest --squash --rm=true
- Create the required Docker volumes by using the following commands:
docker volume create --name mdmcommon_psc-all-in-one docker volume create --name mdmconfig_psc-all-in-one docker volume create --name mdmdynservices_psc-all-in-one docker volume create --name mdmdbdata_psc-all-in-one docker volume create --name postgresdata_psc-all-in-one
- On the command line, enter the following command to run the Docker container:
For example:
docker run -p 8080:8080 -p 6080:6080 -p 8070:8070 -e MDMPORT=8080 -e PROTOCOL=http \ -v mdmcommon_psc-all-in-one:/home/tibco/mdm/9.3/common \ -v mdmconfig_psc-all-in-one:/home/tibco/mdm/9.3/config \ -v mdmdynservices_psc-all-in-one:/home/tibco/mdm/9.3/dynservices \ -v postgresdata_psc-all-in-one:/home/tibco/mdm/9.3/bin/pgsql/data \ -v mdmdbdata_psc-all-in-one:/home/tibco/mdm/9.3/bin/pgsql/tablespaces \ psc-all-in-one:5.1.0.latest
Note: You can specify the minimum and maximum memory required by usingJAVA_OPTS
based on your need. For example,--memory=container memory -Xms=jvm_minimum_memory -Xmx=jvm_maximum_memory
--memory=4096m -Xms=512m -Xmx=2048m
What to do next
To access TIBCO PSC apps in the All-in-One container, use the following URLs:
-
PSC URL: http://<hostname>:8080/eml/Login
-
Configurator URL: http://<hostname>:6080/config/#/login
-
OPD URL: http://<hostname>:8070/#/login
For more information, see build/PSC_ALLINONE/ReadMe.txt
file.