feat: 允许单独配置 redis-url
All checks were successful
Publish Project / build (push) Successful in 4m23s
All checks were successful
Publish Project / build (push) Successful in 4m23s
This commit is contained in:
@@ -42,6 +42,11 @@ server-info:
|
||||
# 不填则自动获取 server.properties 文件中的设置
|
||||
# port: 25577
|
||||
|
||||
# Redis 配置
|
||||
# 如果注释该选项则默认使用 HamsterCore 中的连接配置
|
||||
# 否则 HamsterBall 将会使用与 HamsterCore 不同的 Redis 链接
|
||||
# redis-url: redis://localhost:6379/0?clientName=HamsterBall&timeout=5s
|
||||
|
||||
# 数据库连接池配置
|
||||
# 如果注释该选项则默认使用 HamsterCore 中的连接池配置
|
||||
# 否则 HamsterBall 将会使用与 HamsterCore 不同的数据库链接
|
||||
@@ -53,9 +58,6 @@ server-info:
|
||||
# # MySQL数据库链接填写格式:
|
||||
# # jdbc:mysql://{数据库地址}:{数据库端口}/{使用的库名}?参数
|
||||
# url: "jdbc:mysql://localhost:3306/Test?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true"
|
||||
# # 如果你不需要做多端跨服,那么请使用 sqlite 作本地数据库 ↓
|
||||
# # driver: "org.sqlite.JDBC"
|
||||
# # url: "jdbc:sqlite:./plugins/HamsterCore/database.db"
|
||||
# # 用户名
|
||||
# username: "root"
|
||||
# # 密码
|
||||
|
Reference in New Issue
Block a user