mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
@@ -35,6 +35,25 @@ additionalProperties:
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "True"
|
||||
edit: true
|
||||
envKey: SHIORI_HTTP_SERVE_WEB_UI
|
||||
labelZh: 服务模式
|
||||
labelEn: Serve Mode
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: Web UI 模式
|
||||
value: "True"
|
||||
- label: 仅限 API 模式
|
||||
value: "False"
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: SHIORI_HTTP_SECRET_KEY
|
||||
labelZh: Web UI 密钥
|
||||
labelEn: Web UI Secret Key
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: SHIORI_DATABASE_URL
|
||||
|
||||
@@ -21,3 +21,14 @@ services:
|
||||
- ${SHIORI_ROOT_PATH}/data:/src/shiori
|
||||
environment:
|
||||
- SHIORI_DIR=/srv/shiori
|
||||
- SHIORI_DEVELOPMENT=False
|
||||
- SHIORI_HTTP_ENABLED=True
|
||||
- SHIORI_HTTP_PORT=8080
|
||||
- SHIORI_HTTP_ROOT_PATH=/
|
||||
- SHIORI_HTTP_ACCESS_LOG=True
|
||||
- SHIORI_HTTP_BODY_LIMIT=1024
|
||||
- SHIORI_HTTP_READ_TIMEOUT=10s
|
||||
- SHIORI_HTTP_WRITE_TIMEOUT=10s
|
||||
- SHIORI_HTTP_IDLE_TIMEOUT=10s
|
||||
- SHIORI_HTTP_DISABLE_KEEP_ALIVE=true
|
||||
- SHIORI_HTTP_DISABLE_PARSE_MULTIPART_FORM=true
|
||||
|
||||
Reference in New Issue
Block a user