From 817a9b0d7ff717f0d6589ba5b5d7ed9d5d020d35 Mon Sep 17 00:00:00 2001 From: okxlin Date: Sun, 4 Feb 2024 22:04:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=9B=B4=E6=96=B0music-tag-web?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{1.2.5 => 2.0.0}/.env.sample | 0 apps/music-tag-web/{1.2.5 => 2.0.0}/data.yml | 0 .../{1.2.5 => 2.0.0}/docker-compose.yml | 5 +++-- apps/music-tag-web/latest/.env.sample | 3 +++ apps/music-tag-web/latest/data.yml | 17 ++++++++++++++++ apps/music-tag-web/latest/docker-compose.yml | 20 +++++++++++++++++++ 6 files changed, 43 insertions(+), 2 deletions(-) rename apps/music-tag-web/{1.2.5 => 2.0.0}/.env.sample (100%) rename apps/music-tag-web/{1.2.5 => 2.0.0}/data.yml (100%) rename apps/music-tag-web/{1.2.5 => 2.0.0}/docker-compose.yml (73%) create mode 100644 apps/music-tag-web/latest/.env.sample create mode 100644 apps/music-tag-web/latest/data.yml create mode 100644 apps/music-tag-web/latest/docker-compose.yml diff --git a/apps/music-tag-web/1.2.5/.env.sample b/apps/music-tag-web/2.0.0/.env.sample similarity index 100% rename from apps/music-tag-web/1.2.5/.env.sample rename to apps/music-tag-web/2.0.0/.env.sample diff --git a/apps/music-tag-web/1.2.5/data.yml b/apps/music-tag-web/2.0.0/data.yml similarity index 100% rename from apps/music-tag-web/1.2.5/data.yml rename to apps/music-tag-web/2.0.0/data.yml diff --git a/apps/music-tag-web/1.2.5/docker-compose.yml b/apps/music-tag-web/2.0.0/docker-compose.yml similarity index 73% rename from apps/music-tag-web/1.2.5/docker-compose.yml rename to apps/music-tag-web/2.0.0/docker-compose.yml index 73b5d0cb..65252d54 100644 --- a/apps/music-tag-web/1.2.5/docker-compose.yml +++ b/apps/music-tag-web/2.0.0/docker-compose.yml @@ -8,9 +8,10 @@ services: ports: - "${PANEL_APP_PORT_HTTP}:8001" volumes: - - "${DATA_PATH}:/app/media:z" + - "${DATA_PATH}:/app/media:rw" + - "./config:/app/data" command: /start - image: registry.cn-hangzhou.aliyuncs.com/charles0519/music_tag_web:1.2.5 + image: xhongc/music_tag_web:2.0.0 labels: createdBy: "Apps" diff --git a/apps/music-tag-web/latest/.env.sample b/apps/music-tag-web/latest/.env.sample new file mode 100644 index 00000000..2b452a1a --- /dev/null +++ b/apps/music-tag-web/latest/.env.sample @@ -0,0 +1,3 @@ +CONTAINER_NAME="music-tag-web" +PANEL_APP_PORT_HTTP="40129" +DATA_PATH="./data" diff --git a/apps/music-tag-web/latest/data.yml b/apps/music-tag-web/latest/data.yml new file mode 100644 index 00000000..51932039 --- /dev/null +++ b/apps/music-tag-web/latest/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: 40129 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: ./data + edit: true + envKey: DATA_PATH + labelEn: Data folder path + labelZh: 数据文件夹路径 + required: true + type: text diff --git a/apps/music-tag-web/latest/docker-compose.yml b/apps/music-tag-web/latest/docker-compose.yml new file mode 100644 index 00000000..da929250 --- /dev/null +++ b/apps/music-tag-web/latest/docker-compose.yml @@ -0,0 +1,20 @@ +version: '3' +services: + music-tag-web: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8001" + volumes: + - "${DATA_PATH}:/app/media:rw" + - "./config:/app/data" + command: /start + image: xhongc/music_tag_web:latest + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true