tia Viewer searches for the license file viewerlicense.json
in directory /application/config/license/
.
As this is in context of the container file system, a mapping of the directory containing the license or the license file must exists to the permanent file system of the host.
Example snippet for docker compose file:
services: tiaviewer: volumes: - ./viewerlicense.json:/application/config/license/viewerlicense.json