tia® Migration (Container)
The tia® Migration is based on the OSGi-Framework. Since version 4.1.4 the tia® Migration is also available as a container in addition to the WAR-Deployment.
For deploying tia® Migration as container, please read Container runtime environment and kgs image repository for preparations and prerequirements.
Snippet Summary
docker pull images.kgs-cloud.de/tia-migration/tia-migration:<version>
docker run --name migration -p 8080:8080 -v {YOUR HOST DIRECTORY MOUNT PATH}:/application/work -d images.kgs-cloud.de/tia-migration/tia-migration:<version>Step 1: Pull the Image
docker pull images.kgs-cloud.de/tia-migration/tia-migration:<version>Step 2: Start with mount options
It is necessary to mount a filesystem path into the container in order to persist the product (tia® Migration) configuration. This procedure ensures that the configuration is not lost after a restart/redeploy of the container.
docker run --name migration -p 8080:8080 -v {YOUR HOST DIRECTORY MOUNT PATH}:/application/work -d images.kgs-cloud.de/tia-migration/tia-migration:<version>Explanation:
Command | Task |
|---|---|
docker run | Start the container |
--name {APPLICATION NAME} | gives the container a free choosable name while running (for easier access later). Hint: You can start multiple instances of the same containers with different ports and different names. Example: --name MyMigration |
-p {PORT}:{PORT} | Maps the host port to the port in the container. Our Software runs on 8080 inside the container, therefore you always want to map your arbitrarily host port to 8080 Sample: -p 8080:8080 |
-v {HOST_MOUNTDIR}:{CONTAINER_MOUNTDIR} | In order to place the configuration files outside the container to survive container restart, map the Example: -v C:\KGS\cloud\mount:/application/work |
-d {IMAGE NAME} | The image to be run Step 1 needed to be complete Example: -d http://images.kgs-cloud.de/tia-migration/tia-migration:<version> |
HTTPS-Configuration for Web-Console with HTTPS
See Configuring tia® Classic and tia® Core for HTTPS (container deployment)