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