From fc22f1df8fca48b7de372f98acd3ed57db0995ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E6=A3=AE?= Date: Tue, 13 Aug 2024 17:08:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=88=B1=E5=BD=B1CMS=20=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 萌森 --- apps/iycms/3.3.44/data.yml | 7 +++++++ apps/iycms/3.3.44/docker-compose.yml | 2 ++ 2 files changed, 9 insertions(+) diff --git a/apps/iycms/3.3.44/data.yml b/apps/iycms/3.3.44/data.yml index e1398099..245e890e 100644 --- a/apps/iycms/3.3.44/data.yml +++ b/apps/iycms/3.3.44/data.yml @@ -1,5 +1,12 @@ additionalProperties: formFields: + - default: "/home/iycms" + edit: true + envKey: IYCMS_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text - default: 80 edit: true envKey: PANEL_APP_PORT_HTTP diff --git a/apps/iycms/3.3.44/docker-compose.yml b/apps/iycms/3.3.44/docker-compose.yml index 4209e009..4e5b9b1e 100644 --- a/apps/iycms/3.3.44/docker-compose.yml +++ b/apps/iycms/3.3.44/docker-compose.yml @@ -16,3 +16,5 @@ services: ports: - ${PANEL_APP_PORT_HTTP}:80 - ${PANEL_APP_PORT_ADMIN}:21007 + volumes: + - ${IYCMS_ROOT_PATH}/data:/app/iycms