Add CasDoor, use the latest version of v1.755.0 (#2564)
* Add CasDoor, use the latest version of v1.755.0 * update README --------- Co-authored-by: lizhiyi <lizhiyi@sipesc.com>
This commit is contained in:
parent
b01b824482
commit
c064de82dc
|
|
@ -0,0 +1,34 @@
|
|||
appname = casdoor
|
||||
httpport = 8000
|
||||
runmode = dev
|
||||
copyrequestbody = true
|
||||
driverName = mysql
|
||||
dataSourceName = root:123456@tcp(localhost:3306)/
|
||||
dbName = casdoor
|
||||
tableNamePrefix =
|
||||
showSql = false
|
||||
redisEndpoint =
|
||||
defaultStorageProvider =
|
||||
isCloudIntranet = false
|
||||
authState = "casdoor"
|
||||
socks5Proxy = "127.0.0.1:10808"
|
||||
verificationCodeTimeout = 10
|
||||
initScore = 0
|
||||
logPostOnly = true
|
||||
isUsernameLowered = false
|
||||
origin =
|
||||
originFrontend =
|
||||
staticBaseUrl = "https://cdn.casbin.org"
|
||||
isDemoMode = false
|
||||
batchSize = 100
|
||||
enableErrorMask = false
|
||||
enableGzip = true
|
||||
inactiveTimeoutMinutes =
|
||||
ldapServerPort = 389
|
||||
radiusServerPort = 1812
|
||||
radiusSecret = "secret"
|
||||
quota = {"organization": -1, "user": -1, "application": -1, "provider": -1}
|
||||
logConfig = {"filename": "logs/casdoor.log", "maxdays":99999, "perm":"0770"}
|
||||
initDataNewOnly = false
|
||||
initDataFile = "./init_data.json"
|
||||
frontendBaseDir = "../cc_0"
|
||||
|
|
@ -0,0 +1,58 @@
|
|||
additionalProperties:
|
||||
formFields:
|
||||
- default: 8000
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: mysql
|
||||
envKey: PANEL_DB_TYPE
|
||||
labelEn: DBType
|
||||
labelZh: 数据库类型
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: MySQL
|
||||
value: mysql
|
||||
- label: MariaDB
|
||||
value: mariadb
|
||||
- default: mysql
|
||||
envKey: PANEL_DB_HOST
|
||||
labelEn: DBHost
|
||||
labelZh: 数据库地址
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: 3306
|
||||
envKey: PANEL_DB_PORT
|
||||
labelEn: DBPort
|
||||
labelZh: 数据库端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: casdoor
|
||||
envKey: PANEL_DB_NAME
|
||||
labelEn: DBName
|
||||
labelZh: 数据库名
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: root
|
||||
envKey: PANEL_DB_USER
|
||||
labelEn: DBUser
|
||||
labelZh: 数据库用户
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: 123456
|
||||
envKey: PANEL_DB_USER_PASSWORD
|
||||
labelEn: DBPassword
|
||||
labelZh: 数据库用户密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
casdoor:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
environment:
|
||||
RUNNING_IN_DOCKER: "true"
|
||||
driverName: ${PANEL_DB_TYPE}
|
||||
dataSourceName: ${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@tcp(${PANEL_DB_HOST}:${PANEL_DB_PORT})/
|
||||
dbName: ${PANEL_DB_NAME}
|
||||
image: casbin/casdoor:v1.755.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8000
|
||||
restart: always
|
||||
volumes:
|
||||
- ./conf:/conf
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
# Casdoor
|
||||
|
||||
A UI-first Identity Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, RADIUS, Google Workspace, Active Directory and Kerberos
|
||||
|
||||
## 账户密码
|
||||
|
||||
- 默认账户:`admin`
|
||||
- 默认密码:`123`
|
||||
|
||||
## Casdoor 的特性
|
||||
|
||||
1. Casdoor 遵循前后端分离架构,采用 Golang 进行开发。 它支持高同步,提供基于网页的用户界面1. 管理,并支持10多种语言的本地化。
|
||||
2. Casdoor 支持第三方应用登录,如 GitHub、谷歌、QQ、微信等,并支持通过插件扩展第三方登录。
|
||||
3. Casdoor 支持基于 Cassbin 的授权管理。 它支持 ACL、RBAC、ABAC 和 RESTful鉴权管理模式。
|
||||
4. Casdoor 提供了手机验证码、电子邮件验证码以及重置密码的功能。
|
||||
5. Casdoor 支持日志的审计和记录。
|
||||
6. Casdoor 可以使用阿里云、腾讯云、七牛云提供的图片CDN云存储功能。
|
||||
7. Casdoor 允许自定义注册、登录以及找回密码页面。
|
||||
8. 通过数据库同步支持与现有系统的集成,从而能够顺利过渡到 Casdoor。
|
||||
9. Casdoor 支持主流数据库: MySQL、PostgreSQL、SQL Server 等, 并支持扩展插件以支持新的数据库。
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
additionalProperties:
|
||||
key: casdoor
|
||||
name: Casdoor
|
||||
tags:
|
||||
- Security
|
||||
- Database
|
||||
- Tool
|
||||
shortDescZh: 一个支持OAuth 2.0、OIDC、SAML和CAS的Web UI优先的身份和访问管理(IAM)/单点登录(SSO)平台
|
||||
shortDescEn: An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://casdoor.org/zh/
|
||||
github: https://github.com/casdoor/casdoor
|
||||
document: https://casdoor.org/zh/docs/overview
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
Loading…
Reference in New Issue