feat: 优化 Twikoo 安装包

This commit is contained in:
wanghe-fit2cloud
2024-01-08 11:38:16 +08:00
parent 53d1695ac6
commit 7efacf1828
8 changed files with 23 additions and 121 deletions
-3
View File
@@ -1,3 +0,0 @@
CONTAINER_NAME="twikoo"
PANEL_APP_PORT_HTTP="40063"
DATA_PATH="./data"
+1 -8
View File
@@ -7,11 +7,4 @@ additionalProperties:
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
type: number
+8 -9
View File
@@ -2,20 +2,19 @@ version: '3'
services:
twikoo:
container_name: ${CONTAINER_NAME}
image: imaegoo/twikoo:arm32v7
restart: always
ports:
- ${PANEL_APP_PORT_HTTP}:8080
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8080"
volumes:
- "${DATA_PATH}:/app/data"
- ./data:/app/data
environment:
- "TWIKOO_THROTTLE=1000"
- "TWIKOO_PORT=8080"
image: imaegoo/twikoo:arm32v7
labels:
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true
networks:
1panel-network:
external: true