mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-15 12:01:54 +08:00
Add Logto (#2111)
This commit is contained in:
parent
f217a7a2b2
commit
ecfe6a864d
70
apps/logto/1.19.0/data.yml
Normal file
70
apps/logto/1.19.0/data.yml
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- child:
|
||||||
|
default: ""
|
||||||
|
envKey: PANEL_DB_HOST
|
||||||
|
required: true
|
||||||
|
type: service
|
||||||
|
default: postgresql
|
||||||
|
envKey: PANEL_DB_TYPE
|
||||||
|
labelEn: Database Service
|
||||||
|
labelZh: 数据库服务
|
||||||
|
required: true
|
||||||
|
type: apps
|
||||||
|
values:
|
||||||
|
- label: PostgreSQL
|
||||||
|
value: postgresql
|
||||||
|
- default: logto
|
||||||
|
envKey: PANEL_DB_NAME
|
||||||
|
labelEn: Database
|
||||||
|
labelZh: 数据库名
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
- default: logto
|
||||||
|
envKey: PANEL_DB_USER
|
||||||
|
labelEn: User
|
||||||
|
labelZh: 数据库用户
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
- default: logto
|
||||||
|
envKey: PANEL_DB_USER_PASSWORD
|
||||||
|
labelEn: Password
|
||||||
|
labelZh: 数据库用户密码
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramComplexity
|
||||||
|
type: password
|
||||||
|
- default: 3001
|
||||||
|
envKey: PANEL_APP_PORT_HTTP_LOGTO
|
||||||
|
labelEn: Logto Port
|
||||||
|
labelZh: Logto 监听的端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: 3002
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Logto Admin Port
|
||||||
|
labelZh: Logto 管理控制台端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: http://localhost:3001
|
||||||
|
edit: true
|
||||||
|
envKey: LOGTO_ENDPOINT_URL
|
||||||
|
labelEn: Logto Endpoint
|
||||||
|
labelZh: Logto 服务地址
|
||||||
|
required: true
|
||||||
|
rule: paramHttp
|
||||||
|
type: text
|
||||||
|
- default: http://localhost:3002
|
||||||
|
edit: true
|
||||||
|
envKey: LOGTO_ADMIN_ENDPOINT_URL
|
||||||
|
labelEn: Logto Admin Endpoint
|
||||||
|
labelZh: Logto 管理控制台地址
|
||||||
|
required: true
|
||||||
|
rule: paramHttp
|
||||||
|
type: text
|
20
apps/logto/1.19.0/docker-compose.yml
Normal file
20
apps/logto/1.19.0/docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
|
services:
|
||||||
|
logto:
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
image: svhd/logto:1.19.0
|
||||||
|
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"]
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- ${HOST_IP}:${PANEL_APP_PORT_HTTP_LOGTO}:3001
|
||||||
|
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:3002
|
||||||
|
environment:
|
||||||
|
- TRUST_PROXY_HEADER=1
|
||||||
|
- DB_URL=postgres://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}
|
||||||
|
- ENDPOINT=${LOGTO_ENDPOINT_URL}
|
||||||
|
- ADMIN_ENDPOINT=${LOGTO_ADMIN_ENDPOINT_URL}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
25
apps/logto/README.md
Normal file
25
apps/logto/README.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# Logto
|
||||||
|
|
||||||
|
Logto 是一个为现代应用和 SaaS 产品设计的 Auth0 替代方案。它提供了无缝的开发者体验,非常适合个人和成长中的公司。
|
||||||
|
|
||||||
|
🧑💻 **全面的前后端身份解决方案**
|
||||||
|
|
||||||
|
- 通过 Logto SDK 启用基于 OIDC 的身份验证。
|
||||||
|
- 支持无密码登录,提供包括电子邮件、电话号码、用户名、Google、Facebook 等社交登录方式。
|
||||||
|
- 提供美观的 UI 组件,可通过自定义 CSS 满足您的业务需求。
|
||||||
|
- 拥有开放的社区,许多热心的贡献者和用户。查看我们社区贡献资源的 [awesome 列表](./AWESOME.md)。
|
||||||
|
|
||||||
|
📦 **开箱即用的基础设施**
|
||||||
|
|
||||||
|
- 提供现成的管理 API,作为您的身份验证提供者,无需额外实现。
|
||||||
|
- 提供 SDK,在多个平台和语言中无缝集成您的应用程序,适应您的开发环境。
|
||||||
|
- 提供灵活的连接器,支持通过社区贡献扩展,并可自定义支持 SAML、OAuth 和 OIDC 协议。
|
||||||
|
|
||||||
|
💻 **企业级解决方案**
|
||||||
|
|
||||||
|
- 实现基于角色的访问控制(RBAC),为广泛的用例提供可扩展的角色授权。
|
||||||
|
- 提供用户管理和审计日志,以了解与身份相关的用户信息并维护安全性。
|
||||||
|
- 启用单点登录(SSO)和多因素身份验证(MFA),无需额外编写代码。
|
||||||
|
- 利用 Logto 组织轻松构建多租户应用程序。
|
||||||
|
|
||||||
|
我们以更易于理解的方式将此解决方案称为 "[客户身份访问管理 (CIAM)](https://en.wikipedia.org/wiki/Customer_identity_access_management)",或简称 "客户身份解决方案"。
|
14
apps/logto/data.yml
Normal file
14
apps/logto/data.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
additionalProperties:
|
||||||
|
crossVersionUpdate: true
|
||||||
|
document: https://docs.logto.io/
|
||||||
|
github: https://github.com/logto-io/logto
|
||||||
|
key: logto
|
||||||
|
limit: 0
|
||||||
|
name: Logto
|
||||||
|
shortDescEn: Logto is an open-source Auth0 alternative designed for modern apps
|
||||||
|
and SaaS products.
|
||||||
|
shortDescZh: 专为现代应用和 SaaS 产品设计的开源 Auth0 替代品
|
||||||
|
tags:
|
||||||
|
- Security
|
||||||
|
type: tool
|
||||||
|
website: https://logto.io/zh-CN/
|
BIN
apps/logto/logo.png
Normal file
BIN
apps/logto/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.1 KiB |
Loading…
Reference in New Issue
Block a user