From 89daa13a28d43958cdaed2e990d6a0ddc54c4593 Mon Sep 17 00:00:00 2001 From: pooneyy <85266337+pooneyy@users.noreply.github.com> Date: Wed, 10 Dec 2025 16:59:36 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(sub-store):=20update=20app=20v?= =?UTF-8?q?ersion=20to=202.20.48=20and=20add=20http-meta=20variant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit okxlin/appstore#3307 - update new version 2.20.48 - add new 2.20.48-http-meta - remove 'latest' version - update environment variable name from SUB_STORE_CRON to SUB_STORE_BACKEND_SYNC_CRON in docker-compose - update documentation URL in main data.yml file --- .../{latest => 2.20.48-http-meta}/.env.sample | 0 .../{latest => 2.20.48-http-meta}/data.yml | 0 .../2.20.48-http-meta/docker-compose.yml | 22 ++++++++ apps/sub-store/2.20.48/.env.sample | 6 +++ apps/sub-store/2.20.48/data.yml | 53 +++++++++++++++++++ .../{latest => 2.20.48}/docker-compose.yml | 4 +- apps/sub-store/data.yml | 2 +- 7 files changed, 84 insertions(+), 3 deletions(-) rename apps/sub-store/{latest => 2.20.48-http-meta}/.env.sample (100%) rename apps/sub-store/{latest => 2.20.48-http-meta}/data.yml (100%) create mode 100644 apps/sub-store/2.20.48-http-meta/docker-compose.yml create mode 100644 apps/sub-store/2.20.48/.env.sample create mode 100644 apps/sub-store/2.20.48/data.yml rename apps/sub-store/{latest => 2.20.48}/docker-compose.yml (84%) diff --git a/apps/sub-store/latest/.env.sample b/apps/sub-store/2.20.48-http-meta/.env.sample similarity index 100% rename from apps/sub-store/latest/.env.sample rename to apps/sub-store/2.20.48-http-meta/.env.sample diff --git a/apps/sub-store/latest/data.yml b/apps/sub-store/2.20.48-http-meta/data.yml similarity index 100% rename from apps/sub-store/latest/data.yml rename to apps/sub-store/2.20.48-http-meta/data.yml diff --git a/apps/sub-store/2.20.48-http-meta/docker-compose.yml b/apps/sub-store/2.20.48-http-meta/docker-compose.yml new file mode 100644 index 000000000..1049b30cd --- /dev/null +++ b/apps/sub-store/2.20.48-http-meta/docker-compose.yml @@ -0,0 +1,22 @@ +services: + sub-store: + image: xream/sub-store:2.20.48-http-meta + pull_policy: always + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:3001" + environment: + - SUB_STORE_PUSH_SERVICE=${SUB_STORE_PUSH_SERVICE} + - SUB_STORE_BACKEND_SYNC_CRON=${SUB_STORE_CRON} + - SUB_STORE_FRONTEND_BACKEND_PATH=${SUB_STORE_FRONTEND_BACKEND_PATH} + volumes: + - ${DATA_PATH}:/opt/app/data + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/sub-store/2.20.48/.env.sample b/apps/sub-store/2.20.48/.env.sample new file mode 100644 index 000000000..965972f52 --- /dev/null +++ b/apps/sub-store/2.20.48/.env.sample @@ -0,0 +1,6 @@ +CONTAINER_NAME="sub-store" +PANEL_APP_PORT_HTTP="40232" +DATA_PATH="./data" +SUB_STORE_CRON="55 23 * * *" +SUB_STORE_FRONTEND_BACKEND_PATH="/2cXaAxRGfddmGz2yx1wA" +SUB_STORE_PUSH_SERVICE="https://api.day.app/XXXXXXXXXXXX/[推送标题]/[推送内容]?group=SubStore&autoCopy=1&isArchive=1&sound=shake&level=timeSensitive&icon=https%3A%2F%2Fraw.githubusercontent.com%2F58xinian%2Ficon%2Fmaster%2FSub-Store1.png" diff --git a/apps/sub-store/2.20.48/data.yml b/apps/sub-store/2.20.48/data.yml new file mode 100644 index 000000000..e5f9e2a01 --- /dev/null +++ b/apps/sub-store/2.20.48/data.yml @@ -0,0 +1,53 @@ +additionalProperties: + formFields: + - default: 40232 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + label: + en: Port + zh: 端口 + required: true + rule: paramPort + type: number + - default: 'https://api.day.app/XXXXXXXXXXXX/[推送标题]/[推送内容]?group=SubStore&autoCopy=1&isArchive=1&sound=shake&level=timeSensitive&icon=https%3A%2F%2Fraw.githubusercontent.com%2F58xinian%2Ficon%2Fmaster%2FSub-Store1.png' + edit: true + envKey: SUB_STORE_PUSH_SERVICE + labelEn: Push Service URL + labelZh: 推送服务 URL + label: + en: Push Service URL + zh: 推送服务 URL + required: true + type: text + - default: "55 23 * * *" + edit: true + envKey: SUB_STORE_CRON + labelEn: Cron Schedule + labelZh: Cron 定时任务 + label: + en: Cron Schedule + zh: Cron 定时任务 + required: true + type: text + - default: "/2cXaAxRGfddmGz2yx1wA" + edit: true + envKey: SUB_STORE_FRONTEND_BACKEND_PATH + labelEn: Frontend Backend Path + labelZh: 前端后端路径 + label: + en: Frontend Backend Path + zh: 前端后端路径 + required: true + type: text + - default: "./data" + edit: true + envKey: DATA_PATH + labelEn: Data Directory + labelZh: 数据目录 + label: + en: Data Directory + zh: 数据目录 + required: true + type: text diff --git a/apps/sub-store/latest/docker-compose.yml b/apps/sub-store/2.20.48/docker-compose.yml similarity index 84% rename from apps/sub-store/latest/docker-compose.yml rename to apps/sub-store/2.20.48/docker-compose.yml index cd47a77fb..188382047 100644 --- a/apps/sub-store/latest/docker-compose.yml +++ b/apps/sub-store/2.20.48/docker-compose.yml @@ -1,6 +1,6 @@ services: sub-store: - image: xream/sub-store:latest + image: xream/sub-store:2.20.48 pull_policy: always container_name: ${CONTAINER_NAME} restart: always @@ -10,7 +10,7 @@ services: - "${PANEL_APP_PORT_HTTP}:3001" environment: - SUB_STORE_PUSH_SERVICE=${SUB_STORE_PUSH_SERVICE} - - SUB_STORE_CRON=${SUB_STORE_CRON} + - SUB_STORE_BACKEND_SYNC_CRON=${SUB_STORE_CRON} - SUB_STORE_FRONTEND_BACKEND_PATH=${SUB_STORE_FRONTEND_BACKEND_PATH} volumes: - ${DATA_PATH}:/opt/app/data diff --git a/apps/sub-store/data.yml b/apps/sub-store/data.yml index d6c288ff1..f92f524ed 100644 --- a/apps/sub-store/data.yml +++ b/apps/sub-store/data.yml @@ -19,4 +19,4 @@ additionalProperties: recommend: 0 website: https://hub.docker.com/r/xream/sub-store github: https://github.com/sub-store-org/Sub-Store - document: https://www.notion.so/Sub-Store-6259586994d34c11a4ced5c406264b46 + document: https://xream.notion.site/Sub-Store-abe6a96944724dc6a36833d5c9ab7c87