animeic 1 年間 前
コミット
d9015a7a94
2 ファイル変更21 行追加1 行削除
  1. 20 0
      conf/app.conf
  2. 1 1
      docker-compose.yml

+ 20 - 0
conf/app.conf

@@ -0,0 +1,20 @@
+appname = casdoor
+httpport = 8000
+runmode = dev
+SessionOn = true
+copyrequestbody = true
+driverName = mysql
+dataSourceName = casdoor:infish_2023_xx@tcp(casdoor-mysql:3306)/
+# dbName = casdoor
+# tableNamePrefix =
+# showSql = false
+# redisEndpoint =
+# defaultStorageProvider =
+# isCloudIntranet = false
+# authState = "casdoor"
+# socks5Proxy = "127.0.0.1:10808"
+# verificationCodeTimeout = 10
+# initScore = 2000
+# logPostOnly = true
+# origin = "https://door.casdoor.com"
+# staticBaseUrl = "https://cdn.casbin.org"

+ 1 - 1
docker-compose.yml

@@ -22,7 +22,7 @@ services:
     restart: always
     environment:
       - driverName=mysql
-      - dataSourceName='casdoor:infish_2023_xx@tcp(casdoor-mysql:3306)/'
+      - dataSourceName=casdoor:infish_2023_xx@tcp(casdoor-mysql:3306)/
     ports:
       - 8000:8000
     depends_on: