From 1177e766ca4a83ed97232a531f458429d741d91f Mon Sep 17 00:00:00 2001 From: pooneyy <85266337+pooneyy@users.noreply.github.com> Date: Mon, 10 Nov 2025 16:08:41 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(filecodebox):=20add=20version?= =?UTF-8?q?=202.2.1=20configuration=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - add .env.sample with container name, port, and data path configuration - add data.yml with form fields for port and data folder path settings - add docker-compose.yml with service configuration and network setup --- apps/filecodebox/2.2.1/.env.sample | 3 +++ apps/filecodebox/2.2.1/data.yml | 23 +++++++++++++++++++++++ apps/filecodebox/2.2.1/docker-compose.yml | 17 +++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 apps/filecodebox/2.2.1/.env.sample create mode 100644 apps/filecodebox/2.2.1/data.yml create mode 100644 apps/filecodebox/2.2.1/docker-compose.yml diff --git a/apps/filecodebox/2.2.1/.env.sample b/apps/filecodebox/2.2.1/.env.sample new file mode 100644 index 000000000..be23ecc71 --- /dev/null +++ b/apps/filecodebox/2.2.1/.env.sample @@ -0,0 +1,3 @@ +CONTAINER_NAME="filecodebox" +PANEL_APP_PORT_HTTP="40157" +DATA_PATH="./data" diff --git a/apps/filecodebox/2.2.1/data.yml b/apps/filecodebox/2.2.1/data.yml new file mode 100644 index 000000000..9fb1b4c57 --- /dev/null +++ b/apps/filecodebox/2.2.1/data.yml @@ -0,0 +1,23 @@ +additionalProperties: + formFields: + - default: 40157 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + label: + en: Port + zh: 端口 + required: true + rule: paramPort + type: number + - default: ./data + edit: true + envKey: DATA_PATH + labelEn: Data folder path + labelZh: 数据文件夹路径 + label: + en: Data folder path + zh: 数据文件夹路径 + required: true + type: text diff --git a/apps/filecodebox/2.2.1/docker-compose.yml b/apps/filecodebox/2.2.1/docker-compose.yml new file mode 100644 index 000000000..7375a99e0 --- /dev/null +++ b/apps/filecodebox/2.2.1/docker-compose.yml @@ -0,0 +1,17 @@ +services: + filecodebox: + image: lanol/filecodebox:2.2.1 + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:12345" + volumes: + - "${DATA_PATH}:/app/data" + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true