增加后台管理,支持docker部署

This commit is contained in:
ageer
2024-05-17 02:00:31 +08:00
parent ef7434ed04
commit 7fe89a931b
59 changed files with 3911 additions and 1501 deletions

View File

@@ -49,9 +49,10 @@ spring:
driverClassName: com.mysql.cj.jdbc.Driver
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
url: jdbc:mysql://127.0.0.1:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
username: ry-vue
password: ry-vue
url: ${DB_URL}
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
# 从库数据源
# slave:
@@ -103,9 +104,9 @@ spring:
spring.data:
redis:
# 地址
host: localhost
host: ${REDIS_HOST}
# 端口默认为6379
port: 6379
port: ${REDIS_PORT}
# 数据库索引
database: 0
# 密码(如没有密码请注释掉)