Following the directions in FOLIO Order Import Tool code repository's README, this gist contains the configuration servlet properties XML files for two instances, one for FOLIO production and one for FOLIO stage environments.
A docker image is generated from the Dockerfile
in this GIST with the following files being copied:
- The order.war file to
sul-prod.war
andsul-stage.war
- The Context XML files,
sul-prod.xml
andsul-stage.war
for each environment - Specific property configuration files for stage and production,
import-sul-prod.properties
andimport-sul-stage.properties
(NOTE: these files are not included in this GIST as they contain Okapi login information) - Docker image is launched with port 8080 published
Apache2 runs as a service on the VM.
- Apache2 Reverse Proxy set-up in VirtualHost directive (attached conf file has SSL details obscured) to proxy to running Docker container running on port 8080
With this setup, the Contexts for the sul-prod
and sul-stage
are present when the server is live:
However, when clicking on either of these context, the following directory view is shown instead of the running instance of the FOLIO Order Import Tool:
Thanks @wafschneider! I was able to get the Lehigh tool working on a single VM using two Docker containers, each with different properties file running on different ports. The key was having two
VirtualHost
directives in the Apache2 configuration with different ServerNames.