✨ 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:
parent
dfee375a22
commit
1177e766ca
|
|
@ -0,0 +1,3 @@
|
|||
CONTAINER_NAME="filecodebox"
|
||||
PANEL_APP_PORT_HTTP="40157"
|
||||
DATA_PATH="./data"
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
Loading…
Reference in New Issue