建構 ThingWorx Docker 映像
安裝完成之後,您可以使用版次指令集來建立 ThingWorx Docker 映像。所包括的 build.sh 指令集採用 build.env 檔案中設定的變數並與 staging 資料夾中的檔案一起使用,以確保 Docker 建構指令具有適當的變數與建構前後關聯。
欲建構映像,請執行下列指令:
./build.sh type
type 可以是下列值之一:
• h2
• postgres
• mssql
• azuresql
建構流程完成之後,根據所建構的內容提供者,下列 Docker 映像可供使用:
• H2
平台 Docker 映像:thingworx/platform-h2:latest
• PostgreSQL
平台 Docker 映像:thingworx/platform-postgres:latest
PostgreSQL 資料庫 Docker 映像:thingworx/postgres-db:latest
• Microsoft SQL Server
平台 Docker 映像:thingworx/platform-mssql:latest
Microsoft SQL Server 資料庫 Docker 映像:thingworx/mssql-db:latest
• Azure SQL
平台 Docker 映像:thingworx/platform-azuresql:latest
|
PostgreSQL 及 Microsoft SQL Server 的資料庫 Docker 映像僅用於測試與開發目的,不適用於生產使用。
|