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