![]() |
在本主題中,<n-n-n> 用來將發行版本表示為 <major-minor-maintenance>。
|
平台
|
所需檔案
|
範例檔案
|
---|---|---|
template-processor
|
此 PTC 工具將在開始根據執行環境提供變數及格式組態檔案時提供至 Docker 容器內的兩個剖析範本。
|
template-processor-12.0.0.9-application.tar.gz
|
tomcat
|
Tomcat 封存檔案從執行 ThingWorx Platform 的 Apache 取得。
|
tomcat-9.x.x.tar.gz
|
java
|
從 Amazon Web Services 取得的 OpenJDK - Amazon Coretto 檔案,或從 Oracle 取得的 Java JDK 版本 11 封存檔案。
|
• amazon-corretto-11.x.x-linux-x64.tar.gz
• jdk-11.x.x-linux-x64_bin.tar.gz
|
![]() |
如果從 PTC 支援網站下載檔案,則下載的檔案將使用與 MED-12345-CD-084_ThingWorx-Platform-H2-8-4-0.zip 類似的命名。指令集採用 Thingworx-Platform-type-version.zip 格式。
|
平台
|
範例檔案
|
---|---|
ThingWorx Platform H2
|
Thingworx-Platform-H2-<n-n-n>.zip
|
ThingWorx Platform PostgreSQL
|
Thingworx-Platform-Postgres-<n-n-n>.zip
|
ThingWorx Platform Microsoft SQL Server
|
Thingworx-Platform-Mssql-<n-n-n>.zip
此版本還需要 Microsoft SQL Server 的 Microsoft JDBC Driver。
sqljdbc_7.4.1.0_enu.tar.gz
|
ThingWorx Platform Azure SQL
|
Thingworx-Platform-Azuresql-<n-n-n>.zip
此版本還需要 Microsoft SQL Server 的 Microsoft JDBC Driver。
sqljdbc_7.4.1.0_enu.tar.gz
|
變數名稱
|
預設值
|
註解
|
---|---|---|
BASE_IMAGE
1. ThingWorx 9.0 至 9.3
2. ThingWorx 9.4 及更新版本
|
1. ubuntu:20.04
2. ubuntu:22.04
|
指定要作為基礎映像使用的 Ubuntu 版本。
|
JAVA_VERSION
|
11.0.10.9.1
|
指定 Amazon Corretto OpenJDK 的版本。
|
JAVA_ARCHIVE
|
amazon-corretto-11.0.10.9.1-linux-x64.tar.gz
jdk-11.0.10_linux-x64.tar.gz
|
指定 staging 資料夾中 Java 封存檔案的名稱。
|
TOMCAT_VERSION
|
9.0.43
|
指定 Apache Tomcat 的版本。
|
TEMPLATE_PROCESSOR_VERSION
|
12.1.0.13
|
指定 staging 資料夾中 template-processor 封存檔案的版本。
|
PLATFORM_SETTINGS_FILE
|
platform-settings.json
|
指定 (包括在 staging 資料夾中的) 基礎 ThingWorx 設定檔案的路徑。
|
BUILD_TEST_DBS
|
true
|
決定是否要建構用於測試的資料庫映像,以及平台映像。設定為 true 以建構資料庫映像。
|
PLATFORM_H2_VERSION
|
<n-n-n>
|
指定要建構的 ThingWorx H2 Platform 的版本。僅建構 H2 容器時需要。
|
PLATFORM_H2_ARCHIVE
|
Thingworx-Platform-H2-<n-n-n>.zip
|
指定 staging 資料夾中 ThingWorx H2 .zip 檔案的檔案名稱。僅建構 H2 容器時需要。
|
PLATFORM_POSTGRES_VERSION
|
<n-n-n>
|
指定要建構的 ThingWorx PostgreSQL Platform 的版本。僅建構 PostgreSQL 容器時需要。
|
PLATFORM_POSTGRES_ARCHIVE
|
Thingworx-Platform-Postgres-<n-n-n>.zip
|
指定 staging 資料夾中 ThingWorx PostgreSQL .zip 檔案的檔案名稱。僅建構 PostgreSQL 容器時需要。
|
PLATFORM_MSSQL_VERSION
|
<n-n-n>
|
指定要建構的 ThingWorx Microsoft SQL Server Platform 的版本。僅建構 Microsoft SQL Server 容器時需要。
|
PLATFORM_MSSQL_ARCHIVE
|
Thingworx-Platform-Mssql-<n-n-n>.zip
|
指定 staging 資料夾中 ThingWorx Microsoft SQL Server .zip 檔案的檔案名稱。僅建構 Microsoft SQL Server 容器時需要。
|
SQLDRIVER_VERSION
|
7.4.1.0
|
指定要安裝的 Microsoft JDBC Driver for SQL Server 的版本。僅建構 Microsoft SQL Server 容器時需要。
|
PLATFORM_AZURESQL_VERSION
|
<n-n-n>
|
指定要建構的 ThingWorx Azure SQL Platform 的版本。僅建構 Azure SQL 容器時需要。
|
PLATFORM_AZURESQL_ARCHIVE
|
Thingworx-Platform-Azuresql-<n-n-n>.zip
|
指定 staging 資料夾中 ThingWorx Azure SQL Server .zip 檔案的檔案名稱。僅建構 Azure SQL 容器時需要。
|
AZURESQL_SQLDRIVER_VERSION
|
7.4.1.0
|
指定要安裝的 Microsoft JDBC Driver for Azure SQL 的版本。僅建構 Azure SQL 容器時需要。
|
變數名稱
|
預設值
|
註解
|
---|---|---|
TOMCAT_ARCHIVE
|
tomcat-${TOMCAT_VERSION}.tar.gz
|
指定 staging 資料夾中 Tomcat 封存檔案的名稱。
|
JAVA_ARCHIVE
|
${JAVA_VERSION}-linux-x64.tar.gz
|
指定 staging 資料夾中 Java 封存檔案的名稱。
|
SQLDRIVER_ARCHIVE
|
sqljdbc_${SQLDRIVER_VERSION}_enu.tar.gz
|
指定 staging 資料夾中 Microsoft JDBC Driver for SQL Server 封存檔案的名稱。僅建構 Microsoft SQL Server 容器時需要。
|
AZURESQL_SQLDRIVER_ARCHIVE
|
sqljdbc_${AZURESQL_SQLDRIVER_VERSION}_enu.tar.gz
|
指定 staging 資料夾中 Microsoft SQL JDBC 封存檔案的名稱。僅建構 Azure SQL 容器時需要。
|
TEMPLATE_PROCESSOR_ARCHIVE
|
template-processor-${TEMPLATE_PROCESSOR_VERSION}-application.tar.gz
|
指定 staging 資料夾中 template-processor 封存檔案的名稱。
|
SECURITY_TOOL_ARCHIVE
|
security-common-cli-${SECURITY_TOOL_VERSION}-application.tar.gz
|
指定 staging 資料夾中安全性工具封存檔案的名稱。
|