diff --git a/appstore/topiam-ce/2.0.0/.env b/appstore/topiam-ce/2.0.0/.env index eee78279..8ff766f4 100644 --- a/appstore/topiam-ce/2.0.0/.env +++ b/appstore/topiam-ce/2.0.0/.env @@ -4,6 +4,9 @@ PANEL_DB_TYPE=mysql # Redis 服务 (前置检查) [必填] PANEL_REDIS_TYPE=redis +# 数据持久化路径 [必填] +TOPIAM_CE_ROOT_PATH=/home/topiam + # WebUI 端口 [必填] PANEL_APP_PORT_HTTP=1898 diff --git a/appstore/topiam-ce/2.0.0/data.yml b/appstore/topiam-ce/2.0.0/data.yml index bf9c6b72..1439fbf7 100644 --- a/appstore/topiam-ce/2.0.0/data.yml +++ b/appstore/topiam-ce/2.0.0/data.yml @@ -33,6 +33,13 @@ additionalProperties: values: - label: Redis value: redis + - default: "/home/topiam" + edit: true + envKey: TOPIAM_CE_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text - default: 1898 envKey: PANEL_APP_PORT_HTTP labelZh: WebUI 端口 diff --git a/dockge/topiam-ce/.env b/dockge/topiam-ce/.env index eee78279..8ff766f4 100644 --- a/dockge/topiam-ce/.env +++ b/dockge/topiam-ce/.env @@ -4,6 +4,9 @@ PANEL_DB_TYPE=mysql # Redis 服务 (前置检查) [必填] PANEL_REDIS_TYPE=redis +# 数据持久化路径 [必填] +TOPIAM_CE_ROOT_PATH=/home/topiam + # WebUI 端口 [必填] PANEL_APP_PORT_HTTP=1898