1
0
Fork 0

feat(filecodebox): add version 2.2.1 configuration files

- 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
This commit is contained in:
pooneyy 2025-11-10 16:08:41 +08:00
parent dfee375a22
commit 1177e766ca
No known key found for this signature in database
3 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,3 @@
CONTAINER_NAME="filecodebox"
PANEL_APP_PORT_HTTP="40157"
DATA_PATH="./data"

View File

@ -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

View File

@ -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