Update Apps
This commit is contained in:
32
apps/uni-api/1.5.78/data.yml
Normal file
32
apps/uni-api/1.5.78/data.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: CONFIG_URL
|
||||
labelEn: CONFIG_URL
|
||||
labelZh: 远程配置文件地址(若配置,则首先拉取远程配置到本地)
|
||||
required: false
|
||||
type: text
|
||||
- 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: 38000
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
|
||||
21
apps/uni-api/1.5.78/docker-compose.yml
Normal file
21
apps/uni-api/1.5.78/docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
services:
|
||||
uni-api:
|
||||
image: yym68686/uni-api:1.5.78
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8000
|
||||
volumes:
|
||||
- "${DATA_PATH}:/home/data"
|
||||
- "${LOCAL_CONFIG_PATH}:/home/api.yaml"
|
||||
environment:
|
||||
- CONFIG_URL=${CONFIG_URL}
|
||||
networks:
|
||||
- 1panel-network
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user