初始化项目

This commit is contained in:
zhangdongxu 2024-03-06 18:03:19 +08:00
parent d2eb733ab3
commit e9d2a24d3d

View File

@ -50,9 +50,9 @@ spring:
datasource:
# 主库数据源
master:
url: jdbc:mysql://localhost:33067/agileboot-pure?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:mysql://100.110.205.77:4409/sheep?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: 12345
password: littlecow@2019
# 从库数据源
# slave:
# url: jdbc:mysql://localhost:33067/agileboot2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
@ -62,13 +62,13 @@ spring:
# redis 配置
redis:
# 地址
host: localhost
host: 100.110.205.77
# 端口默认为6379
port: 36379
port: 6379
# 数据库索引
database: 0
database: 10
# 密码
password: 12345
password: 950206
# 连接超时时间
timeout: 10s
lettuce:
@ -84,7 +84,7 @@ spring:
logging:
file:
path: D:/logs/agileboot-dev
path: E:/sheep/logs/agileboot-dev
springdoc:
@ -99,7 +99,7 @@ springdoc:
# 项目相关配置
agileboot:
# 文件基路径 示例( Windows配置D:\agilebootLinux配置 /home/agileboot
file-base-dir: D:\agileboot
file-base-dir: E:\sheep\agileboot
# 前端url请求转发前缀
api-prefix: /dev-api
demo-enabled: false