添加Twikoo (#732)

This commit is contained in:
灯火阑珊
2024-01-08 10:38:27 +08:00
committed by GitHub
parent c74d850a37
commit cd26953e89
9 changed files with 239 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
CONTAINER_NAME="twikoo"
PANEL_APP_PORT_HTTP="40063"
DATA_PATH="./data"
+17
View File
@@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 40063
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: ./data
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
+21
View File
@@ -0,0 +1,21 @@
version: '3'
services:
twikoo:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8080"
volumes:
- "${DATA_PATH}:/app/data"
environment:
- "TWIKOO_THROTTLE=1000"
- "TWIKOO_PORT=8080"
image: imaegoo/twikoo:arm32v7
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true