The Logi Analytics Platform and Logi applications can be bundled into and executed from container environments, such as Docker. Some of our customers have had success deploying their Logi applications in this manner.
Logi Professional Services staff may be able to assist you with such a deployment, for a fee. However, we don't recommend any particular container over another and we don't certify that Logi applications will work using a container.
A best practice for Docker is to separate the Tomcat container and Logi Scheduler into their own nodes behind a load balancer (for information about load balancing, see Load Balancing Configuration).
Copy Logi Info App to Linux host (follow configuration steps in Deployment Checklist below for details)
Must have security configured with users, sharing rdSecurekey configured for multiple nodes
Must have Data connections set up for production configuration
Must have rdError sharing set up for multiple nodes (complete with custom error page)
Must have an OEM license
Pull Tomcat image from Docker Hub
Build a new image (you must do this every time you make a change to the Info app)
Docker build -t Tomcat
At this point, you will have a container with your Logi app working on port 8080. The following steps show you how to use Docker-compose to stand up multiple instances of Info and load balance them with Nginx:
Write docker-compose.yml file
docker-compose up -d
Scale Info up:
docker-compose scale app=2
The following links are resources for implementing Docker:
Multiple executables in container script:
Below is a file that accompanies the directions mentioned in the Docker-compose scale with sticky sessions link above. This example is not meant to be run, it is simply a guide for creating your own:
MAINTAINER Author Name <firstname.lastname@example.org>
ADD /InfoGo /usr/local/tomcat/webapps/InfoGo
ADD logiStart.sh /usr/local/tomcat/logiStart.sh
Below is an example of a docker-compose file: