mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
更新
This commit is contained in:
@@ -15,3 +15,24 @@ additionalProperties:
|
|||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
|
- default: "en,zh,jp,ko"
|
||||||
|
edit: true
|
||||||
|
envKey: LT_LOAD_ONLY
|
||||||
|
labelZh: 加载语言
|
||||||
|
labelEn: Load language
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: HTTP_PROXY
|
||||||
|
labelZh: HTTP 代理
|
||||||
|
labelEn: HTTP proxy
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: "localhost,127.0.0.1,::1,192.168.0.0/16,10.0.0.0/8,*.local"
|
||||||
|
edit: true
|
||||||
|
envKey: NO_PROXY
|
||||||
|
labelZh: 跳过代理地址
|
||||||
|
labelEn: Skip proxy address
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
createdBy: "Apps"
|
createdBy: "Apps"
|
||||||
restart: always
|
restart: always
|
||||||
|
tty: true
|
||||||
networks:
|
networks:
|
||||||
- 1panel-network
|
- 1panel-network
|
||||||
ports:
|
ports:
|
||||||
@@ -22,6 +23,8 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- TZ=Asia/Shanghai
|
- TZ=Asia/Shanghai
|
||||||
- LT_API_KEYS=true
|
- LT_API_KEYS=true
|
||||||
|
- HTTPS_PROXY=${HTTPS_PROXY:-}
|
||||||
|
- NO_PROXY=${NO_PROXY:-}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ 'CMD-SHELL', './venv/bin/python scripts/healthcheck.py' ]
|
test: [ 'CMD-SHELL', './venv/bin/python scripts/healthcheck.py' ]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
|
|||||||
@@ -13,6 +13,10 @@ Argos Translate 库作为翻译引擎。
|
|||||||
- 完全开源
|
- 完全开源
|
||||||
- 离线翻译
|
- 离线翻译
|
||||||
|
|
||||||
|
## 加载语言
|
||||||
|
|
||||||
|
[Supported Languages](https://docs.libretranslate.com/guides/supported_languages/#_top)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
Reference in New Issue
Block a user