Skip to main content
Skip table of contents

Licensing

Hosting the WebTSM Services requires a valid HAKOM.License file present in the installation directory. Alternatively the license may be provided via environment variables, this may for example be a better option for dockerized deployments of the HAKOM WebTSM Services.

When using environment variables instead of a license file only the following three entries must be provided:

HAKOM.License TagEnvironment Variable
XML
<HAKOMLicensing>
  <customer>TestCustomer</customer>
</HAKOMLicensing>
CODE
"HAKOMLicensing_customer=TestCustomer"
XML
<HAKOMLicensing>
	<products>
		<product>
			<name>TestProduct</name>
		</product>
	</products>
</HAKOMLicensing>
CODE
"HAKOMLicensing_products_product_name=TestProduct"
XML
<HAKOMLicensing>
	<products>
		<product>
			<licensekey>123123123</licensekey>
		</product>
	</products>
</HAKOMLicensing>
CODE
"HAKOMLicensing_products_product_licensekey=123123123"

When licensing multiple products the environment variables may contain XML tags following the same structure as in a license file.

HAKOM.License TagEnvironment Variable
XML
<HAKOMLicensing>
	<products>
		<product>
			<name>TestProduct</name>
			<licensekey>123123123</licensekey>
		</product>
		<product>
			<name>TestProduct2</name>
			<licensekey>456456456</licensekey>
		</product>
	</products>
</HAKOMLicensing>
CODE
"HAKOMLicensing_products=<product><name>TestProductTestProduct</name><licensekey>123123123</licensekey></product><product><name>TestProduct2</name><licensekey>456456456</licensekey></product>"
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.