mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-13 09:26:57 +08:00
修复配置
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
3574f6628a
commit
8ef47d2445
@ -2,6 +2,8 @@
|
||||
|
||||
随着微服务的流行,服务和服务之间的稳定性变得越来越重要。Sentinel是面向分布式、多语言异构化服务架构的流量治理组件,主要以流量为切入点,从流量路由、流量控制、流量整形、熔断降级、系统自适应过载保护、热点流量防护等多个维度来帮助开发者保障微服务的稳定性。
|
||||
|
||||
![Sentinel Dashboard](https://file.lifebus.top/imgs/sentinel_dashboard_cover.png)
|
||||
|
||||
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
|
||||
|
||||
## 快速启动
|
||||
|
@ -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
|
||||
|
@ -20,6 +20,9 @@ Shiori 是一款用 Go 语言编写的简单书签管理器,旨在作为 Pocke
|
||||
|
||||
## 安装说明
|
||||
|
||||
> 默认用户名: `shiori`
|
||||
> 默认密码: `gopher`
|
||||
|
||||
### `数据库链接 URL` 配置
|
||||
|
||||
> 名词解释
|
||||
@ -44,6 +47,18 @@ Shiori 是一款用 Go 语言编写的简单书签管理器,旨在作为 Pocke
|
||||
模板:`postgres://username:password@localhost:port/database?sslmode=disable`
|
||||
示例:`postgres://shiori:shiori@postgres/shiori?sslmode=disable`
|
||||
|
||||
## 反向代理
|
||||
|
||||
> Nginx
|
||||
|
||||
```nginx
|
||||
location / {
|
||||
proxy_pass http://localhost:8080/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
|
||||
|
Loading…
Reference in New Issue
Block a user