统一编码

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
2024-07-22 18:47:14 +08:00
parent 523b5584ca
commit 0f7374c954
40 changed files with 1560 additions and 1562 deletions
+31 -31
View File
@@ -1,31 +1,31 @@
appname=casdoor
httpport=8000
runmode=prod
copyrequestbody=true
driverName=mysql
dataSourceName=
dbName=casdoor
tableNamePrefix=
showSql=false
redisEndpoint=
defaultStorageProvider=
isCloudIntranet=false
authState=casdoor
socks5Proxy=
verificationCodeTimeout=10
initScore=0
logPostOnly=true
isUsernameLowered=false
origin=
originFrontend=
staticBaseUrl=https://cdn.casbin.org
isDemoMode=false
batchSize=100
enableGzip=true
ldapServerPort=389
radiusServerPort=1812
radiusSecret=secret
quota={"organization": -1, "user": -1, "application": -1, "provider": -1}
logConfig={"filename": "logs/casdoor.log", "maxdays":99999, "perm":"0770"}
initDataFil="./init_data.json"
frontendBaseDi="../casdoor"
appname=casdoor
httpport=8000
runmode=prod
copyrequestbody=true
driverName=mysql
dataSourceName=
dbName=casdoor
tableNamePrefix=
showSql=false
redisEndpoint=
defaultStorageProvider=
isCloudIntranet=false
authState=casdoor
socks5Proxy=
verificationCodeTimeout=10
initScore=0
logPostOnly=true
isUsernameLowered=false
origin=
originFrontend=
staticBaseUrl=https://cdn.casbin.org
isDemoMode=false
batchSize=100
enableGzip=true
ldapServerPort=389
radiusServerPort=1812
radiusSecret=secret
quota={"organization": -1, "user": -1, "application": -1, "provider": -1}
logConfig={"filename": "logs/casdoor.log", "maxdays":99999, "perm":"0770"}
initDataFil="./init_data.json"
frontendBaseDi="../casdoor"
+2 -2
View File
@@ -1,2 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
+36 -36
View File
@@ -1,36 +1,36 @@
USER_UID=1000
USER_GID=1000
APP_NAME="Gitea"
RUN_MODE=prod
DOMAIN=localhost
SSH_DOMAIN=localhost
SSH_PORT=22
SSH_LISTEN_PORT=22
DISABLE_SSH=false
HTTP_PORT=3000
ROOT_URL=""
LFS_START_SERVER=true
DB_TYPE=sqlite3
DB_HOST=""
DB_NAME=""
DB_USER=""
DB_PASSWD=""
INSTALL_LOCK=false
SECRET_KEY=""
DISABLE_REGISTRATION=false
REQUIRE_SIGNIN_VIEW=false
GITEA__time__DEFAULT_UI_LOCATION=Asia/Shanghai
GITEA__migrations__ALLOW_LOCALNETWORKS=true
GITEA__api__ENABLE_SWAGGER=false
GITEA__ui.meta__AUTHOR=新疆萌森软件开发工作室
GITEA__ui.meta__DESCRIPTION=轻量级代码托管解决方案,支持自建和托管服务。
GITEA__ui.meta__KEYWORDS=git,gitea,github,gitlab,gitee,code
GITEA__security__LOGIN_REMEMBER_DAYS=3
GITEA__server__LOCAL_ROOT_URL=http://localhost:3000/
GITEA__webhook__ALLOWED_HOST_LIST=*
GITEA__picture__REPOSITORY_AVATAR_FALLBACK=random
GITEA__attachment__MAX_SIZE=1024
GITEA__git__MAX_GIT_DIFF_LINES=10000
GITEA__git.config__http.postBuffer=2147483648
GITEA__git.config__core.compression=0
GITEA__other__SHOW_FOOTER_POWERED_BY=false
USER_UID=1000
USER_GID=1000
APP_NAME="Gitea"
RUN_MODE=prod
DOMAIN=localhost
SSH_DOMAIN=localhost
SSH_PORT=22
SSH_LISTEN_PORT=22
DISABLE_SSH=false
HTTP_PORT=3000
ROOT_URL=""
LFS_START_SERVER=true
DB_TYPE=sqlite3
DB_HOST=""
DB_NAME=""
DB_USER=""
DB_PASSWD=""
INSTALL_LOCK=false
SECRET_KEY=""
DISABLE_REGISTRATION=false
REQUIRE_SIGNIN_VIEW=false
GITEA__time__DEFAULT_UI_LOCATION=Asia/Shanghai
GITEA__migrations__ALLOW_LOCALNETWORKS=true
GITEA__api__ENABLE_SWAGGER=false
GITEA__ui.meta__AUTHOR=新疆萌森软件开发工作室
GITEA__ui.meta__DESCRIPTION=轻量级代码托管解决方案,支持自建和托管服务。
GITEA__ui.meta__KEYWORDS=git,gitea,github,gitlab,gitee,code
GITEA__security__LOGIN_REMEMBER_DAYS=3
GITEA__server__LOCAL_ROOT_URL=http://localhost:3000/
GITEA__webhook__ALLOWED_HOST_LIST=*
GITEA__picture__REPOSITORY_AVATAR_FALLBACK=random
GITEA__attachment__MAX_SIZE=1024
GITEA__git__MAX_GIT_DIFF_LINES=10000
GITEA__git.config__http.postBuffer=2147483648
GITEA__git.config__core.compression=0
GITEA__other__SHOW_FOOTER_POWERED_BY=false
+2 -2
View File
@@ -1,2 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
+29 -29
View File
@@ -1,29 +1,29 @@
# 外部数据库支持配置
# PostgreSQL
# hibernate_dialect=io.onedev.server.persistence.PostgreSQLDialect
# hibernate_connection_driver_class=org.postgresql.Driver
# hibernate_connection_url=jdbc:postgresql://localhost:5432/onedev
# hibernate_connection_username=postgres
# hibernate_connection_password=postgres
# MySQL
# hibernate_dialect=org.hibernate.dialect.MySQL5InnoDBDialect
# hibernate_connection_driver_class=com.mysql.cj.jdbc.Driver
# hibernate_connection_url=jdbc:mysql://localhost:3306/onedev?serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false&disableMariaDbDriver=true
# hibernate_connection_username=root
# hibernate_connection_password=root
# MariaDB
# hibernate_dialect=org.hibernate.dialect.MySQL5InnoDBDialect
# hibernate_connection_driver_class=org.mariadb.jdbc.Driver
# hibernate_connection_url=jdbc:mariadb://localhost:3306/onedev
# hibernate_connection_username=root
# hibernate_connection_password=root
# MS SQL Server
# hibernate_dialect=org.hibernate.dialect.SQLServer2012Dialect
# hibernate_connection_driver_class=com.microsoft.sqlserver.jdbc.SQLServerDriver
# hibernate_connection_url=jdbc:sqlserver://localhost:1433;databaseName=onedev
# hibernate_connection_username=sa
# hibernate_connection_password=sa
# 外部数据库支持配置
# PostgreSQL
# hibernate_dialect=io.onedev.server.persistence.PostgreSQLDialect
# hibernate_connection_driver_class=org.postgresql.Driver
# hibernate_connection_url=jdbc:postgresql://localhost:5432/onedev
# hibernate_connection_username=postgres
# hibernate_connection_password=postgres
# MySQL
# hibernate_dialect=org.hibernate.dialect.MySQL5InnoDBDialect
# hibernate_connection_driver_class=com.mysql.cj.jdbc.Driver
# hibernate_connection_url=jdbc:mysql://localhost:3306/onedev?serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false&disableMariaDbDriver=true
# hibernate_connection_username=root
# hibernate_connection_password=root
# MariaDB
# hibernate_dialect=org.hibernate.dialect.MySQL5InnoDBDialect
# hibernate_connection_driver_class=org.mariadb.jdbc.Driver
# hibernate_connection_url=jdbc:mariadb://localhost:3306/onedev
# hibernate_connection_username=root
# hibernate_connection_password=root
# MS SQL Server
# hibernate_dialect=org.hibernate.dialect.SQLServer2012Dialect
# hibernate_connection_driver_class=com.microsoft.sqlserver.jdbc.SQLServerDriver
# hibernate_connection_url=jdbc:sqlserver://localhost:1433;databaseName=onedev
# hibernate_connection_username=sa
# hibernate_connection_password=sa