1
0

feat:添加deeplx到列表

This commit is contained in:
okxlin
2023-11-17 00:25:53 +08:00
parent 1ceb16b339
commit 268d77e7b1
9 changed files with 295 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
CONTAINER_NAME="deeplx"
PANEL_APP_PORT_HTTP="40174"
TOKEN_VAULE="token123456"

View File

@@ -0,0 +1,18 @@
additionalProperties:
formFields:
- default: 40174
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: deeplx
envKey: TOKEN_VAULE
labelEn: Token
labelZh: 密码
random: true
required: false
rule: paramComplexity
type: password

View File

@@ -0,0 +1,17 @@
version: '3'
services:
deeplx:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:1188"
command: ["/app/deeplx", "-token", "${TOKEN_VAULE}"]
image: missuo/deeplx:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true