Example - Using docker compose file
This is an example compose file for
docker compose
.
Save it as compose.yml
into the directory to start tia Content Server core from in step 2.
This example contains setup for tia Status UI authentication and SSL setup that require preparation. Review the following topics:
version: '3'
services:
tiacoreAL:
container_name: tiacore-AL
image: images.docker.kgs-cloud.de/tia/core/saphttp:latest
ports:
- "8443:8080"
environment:
# log level
LOGGING_LEVEL_ROOT: INFO
# tia Status UI
TIA_SERVER_DESCRIPTION: tia Content Server Core ArchiveLink
WEBAPP_SECURITY_AUTH_TYPE: basic
WEBAPP_SECURITY_AUTH_BASIC_USERNAME: admin
WEBAPP_SECURITY_AUTH_BASIC_PASSWORD: "\$2a\$10\$5E1KpGIKSq6xuWmGf92bheB17V0l4fEMnVmYPqhWiazKddcx1TF/e"
# HTTPS settings
SERVER_SSL_KEYSTORETYPE: PKCS12
SERVER_SSL_KEYSTORE: /application/ssl/kgs.p12
SERVER_SSL_KEYSTOREPASSWORD: test1234
SERVER_SSL_KEYALIAS: kgs
SERVER_SSL_ENABLED: true
volumes:
- ./data: /temp/data
- ./tiacore/license: /application/config/license/
- ./tiacore/repository.cfg: /application/config/repository.cfg
- ./tiacore/ssl: /application/ssl
Start tia Content Server Core using this command:
docker compose up -f ./compose.yml -d