Running the Docker Containers
After building the Docker images, you can run the images as containers to start containerized TIBCO Offer and Price Engine.
Start the Docker container by using the specific docker compose file.
Procedure
-
Start the configurator-ui Docker container.
Copydocker-compose --file docker-compose-run-configurator-ui.yml up -d
-
Access the configurator UI and configure it according to your environment and requirement.
-
Start the authorization service to fetch the token, which is then used across all Offer and Price Engine services to authorize and authenticate the user.
Note: The authorization service and configuration service are needed for confiurator-ui. Also, after uploading metadata, application properties, and configuration files, you need to perform the required configurations and start OPE services.
Copy$> docker-compose --file docker-compose-run-authorization-service.yml up -d
You can start any of the Docker services by using the following compose commands:
-
Start the catalog service container.
Copy$> docker-compose --file docker-compose-run-catalog-service.yml up -d
-
Start the Offer and Price Engine service container.
Copy$> docker-compose --file docker-compose-run-ope.yml up -d
-
Start the Recommendation Engine Api service container.
Copy$> docker-compose --file docker-compose-run-recommendation-engine-api.yml up -d
-
Start the Recommendation Engine Data Mapper service container.
Copy$> docker-compose --file docker-compose-run-recommendation-engine-data-mapper.yml up -d
-
Start the Recommendation Engine Data Store service container.
Copy$> docker-compose --file docker-compose-run-recommendation-engine-data-store.yml up -d
-
Start the shopping cart service container.
Copy$> docker-compose --file docker-compose-run-shoppingcart.yml up -d
-
Start the offerSearchIndex service container.
Copy$> docker-compose --file docker-compose-run-offersearchindex-service.yml up -d
-
Start the Recommendation Engine Core service container.
Copy$> docker-compose --file docker-compose-run-recommendation-engine-core.yml up -d
-
-
Execute "$] docker ps -a" to check the containers that are started.