1
0

(refactor) Remove env files and scripts, update config files

This commit is contained in:
pooneyy
2025-09-04 00:36:13 +08:00
parent 0906288534
commit 89fbe837f1
1566 changed files with 1159 additions and 15329 deletions

View File

@@ -0,0 +1,24 @@
additionalProperties:
formFields:
- default: ./config
edit: true
envKey: LOCAL_CONFIG_PATH
labelEn: local config file path
labelZh: 本地配置文件地址
required: true
type: text
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: uni-api data path
labelZh: uni-api数据存储路径
required: true
type: text
- default: 8000
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number

View File

@@ -0,0 +1,21 @@
services:
pro-api:
image: duolabmeng/pro-api:v0.1.0
container_name: ${CONTAINER_NAME}
restart: always
ports:
- ${PANEL_APP_PORT_HTTP}:8000
volumes:
- "${DATA_PATH}:/app/data:rw"
- "${LOCAL_CONFIG_PATH}:/app/api.yaml"
environment:
- PYTHONUNBUFFERED=1
networks:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true