Installation / Deployment (tWC)
The deliverable is a container image.
This image can be orchestrated with any orchestering solution which can handle OCI container images (see Prerequisites for tia® and kgs Software Components | Container based deployment). The following descriptions are examples.
Docker
docker run --name tia-webservice-core -p <port>:8080 -v <host-mount-path>:/application/work -e SPRING_CONFIG_LOCATION=file:/application/work/application.yml -d images.kgs-cloud.de/tia-webservice-core/tia-webservice-core:<VERSION>Please add the Configuration to your <host-mount-path>. An Sample Configuration can be found here: Configuration (tWC)
Docker Compose
services:
tiawebservice:
container_name: tiawebservice
image: images.kgs-cloud.de/tia-webservice-core/tia-webservice-core:<1.0.0>
ports:
- "<port>:8080"
volumes:
- ./config:/application/config
environment:
spring.config.location: /application/config/application.yml