chore: add casdoor

fixes #34
This commit is contained in:
LRVT
2026-03-11 14:31:09 +01:00
parent db0a43b6bd
commit 3ffcaff70b
4 changed files with 78 additions and 0 deletions

18
examples/casdoor/app.conf Normal file
View File

@@ -0,0 +1,18 @@
# general
appname = casdoor
httpport = 8000
runmode = prod
# database
driverName = postgres
dataSourceName = host=db port=5432 user=casdoor password=Str0ngPassw0rt! dbname=casdoor sslmode=disable
# logging and debugging
showSql = true
logPostOnly = true
# more settings
verificationCodeTimeout = 10
inactiveTimeoutMinutes = 10
staticBaseUrl = "https://cdn.casbin.org"
enableGzip = true