From 51e25d7f7f54ceace8223b9b80f79a585be8e8bb Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Tue, 7 Nov 2023 17:40:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8D=87=E7=BA=A7=20calibre-web=20?= =?UTF-8?q?=E7=9A=84=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/calibre-web/0.6.21/data.yml | 24 +++++++++++++++++++ .../{2021.12.16 => 0.6.21}/docker-compose.yml | 12 +++++----- apps/calibre-web/2021.12.16/data.yml | 17 ------------- 3 files changed, 30 insertions(+), 23 deletions(-) create mode 100644 apps/calibre-web/0.6.21/data.yml rename apps/calibre-web/{2021.12.16 => 0.6.21}/docker-compose.yml (75%) delete mode 100644 apps/calibre-web/2021.12.16/data.yml diff --git a/apps/calibre-web/0.6.21/data.yml b/apps/calibre-web/0.6.21/data.yml new file mode 100644 index 000000000..9e95dab71 --- /dev/null +++ b/apps/calibre-web/0.6.21/data.yml @@ -0,0 +1,24 @@ +additionalProperties: + formFields: + - default: 40109 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: HTTP Port + labelZh: HTTP端口 + required: true + rule: paramPort + type: number + - default: ./data/books + edit: true + envKey: DATA_PATH + labelEn: Books folder path + labelZh: 书本文件夹路径 + required: true + type: text + - default: Asia/Shanghai + edit: true + envKey: TIME_ZONE + labelEn: Time zone + labelZh: 时区 + required: true + type: text \ No newline at end of file diff --git a/apps/calibre-web/2021.12.16/docker-compose.yml b/apps/calibre-web/0.6.21/docker-compose.yml similarity index 75% rename from apps/calibre-web/2021.12.16/docker-compose.yml rename to apps/calibre-web/0.6.21/docker-compose.yml index 8611c888e..faec5476f 100644 --- a/apps/calibre-web/2021.12.16/docker-compose.yml +++ b/apps/calibre-web/0.6.21/docker-compose.yml @@ -9,17 +9,17 @@ services: - "${PANEL_APP_PORT_HTTP}:8083" volumes: - "./data/config:/config" - - "./data/books:/books" + - "${DATA_PATH}:/books" environment: - PUID=1000 - PGID=1000 - TZ=${TIME_ZONE} - DOCKER_MODS=linuxserver/mods:universal-calibre #optional - OAUTHLIB_RELAX_TOKEN_SCOPE=1 #optional - image: linuxserver/calibre-web:2021.12.16 - labels: + image: linuxserver/calibre-web:0.6.21 + labels: createdBy: "Apps" -networks: - 1panel-network: - external: true +networks: + 1panel-network: + external: true \ No newline at end of file diff --git a/apps/calibre-web/2021.12.16/data.yml b/apps/calibre-web/2021.12.16/data.yml deleted file mode 100644 index f0e6639d1..000000000 --- a/apps/calibre-web/2021.12.16/data.yml +++ /dev/null @@ -1,17 +0,0 @@ -additionalProperties: - formFields: - - default: 40109 - edit: true - envKey: PANEL_APP_PORT_HTTP - labelEn: HTTP Port - labelZh: HTTP端口 - required: true - rule: paramPort - type: number - - default: Asia/Shanghai - edit: true - envKey: TIME_ZONE - labelEn: Time zone - labelZh: 时区 - required: true - type: text