feat: update one-hub v0.14.23

This commit is contained in:
arch3rPro
2025-08-06 13:20:07 +08:00
parent 6adcea4bdf
commit 1f5cb6d7e5
3 changed files with 21 additions and 26 deletions
+26
View File
@@ -0,0 +1,26 @@
additionalProperties:
formFields:
- default: 3000
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: Asia/Shanghai
edit: true
envKey: TZ
labelEn: Time Zone
labelZh: 时区
required: true
type: text
- default: 9khGG1O59Ih4ZWrpsiFKTf8bW7ZqJR01
edit: true
envKey: USER_TOKEN_SECRET
labelEn: Password
labelZh: 用户Token
random: true
required: true
rule: paramComplexity
type: password
+21
View File
@@ -0,0 +1,21 @@
services:
one-hub:
image: martialbe/one-api:v0.14.23
container_name: ${CONTAINER_NAME}
restart: always
ports:
- ${PANEL_APP_PORT_HTTP}:3000
networks:
- 1panel-network
command: --log-dir /app/logs
volumes:
- ./data:/data
- ./logs:/app/logs
environment:
- TZ=${TZ}
- USER_TOKEN_SECRET=${USER_TOKEN_SECRET}
labels:
createdBy: Apps
networks:
1panel-network:
external: true