|
|
@ -55,9 +55,11 @@ spring: |
|
|
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562 |
|
|
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562 |
|
|
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题) |
|
|
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题) |
|
|
# url: jdbc:mysql://175.178.45.24:3306/hanhai-official-website?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true |
|
|
# url: jdbc:mysql://175.178.45.24:3306/hanhai-official-website?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true |
|
|
url: jdbc:mysql://localhost:3306/hanhai-official-website?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true |
|
|
|
|
|
|
|
|
# url: jdbc:mysql://localhost:3306/hanhai-official-website?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true |
|
|
|
|
|
url: jdbc:mysql://42.194.239.145:3306/hanhai-official-website?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true |
|
|
username: root |
|
|
username: root |
|
|
password: 123456 |
|
|
|
|
|
|
|
|
# password: 123456 |
|
|
|
|
|
password: I5+sHYZQ |
|
|
# password: enu&g016 |
|
|
# password: enu&g016 |
|
|
# 从库数据源 |
|
|
# 从库数据源 |
|
|
slave: |
|
|
slave: |
|
|
@ -107,13 +109,13 @@ spring.data: |
|
|
redis: |
|
|
redis: |
|
|
# 地址 |
|
|
# 地址 |
|
|
# host: 192.168.1.173 |
|
|
# host: 192.168.1.173 |
|
|
host: 175.178.45.24 |
|
|
|
|
|
|
|
|
host: 42.194.239.145 |
|
|
# 端口,默认为6379 |
|
|
# 端口,默认为6379 |
|
|
port: 6379 |
|
|
port: 6379 |
|
|
# 数据库索引 |
|
|
# 数据库索引 |
|
|
database: 11 |
|
|
|
|
|
|
|
|
database: 13 |
|
|
# redis 密码必须配置 |
|
|
# redis 密码必须配置 |
|
|
password: hhlm@1688520 |
|
|
|
|
|
|
|
|
password: 'lzx.123456' |
|
|
# 连接超时时间 |
|
|
# 连接超时时间 |
|
|
timeout: 10s |
|
|
timeout: 10s |
|
|
# 是否开启ssl |
|
|
# 是否开启ssl |
|
|
@ -272,3 +274,11 @@ justauth: |
|
|
client-id: 10**********6 |
|
|
client-id: 10**********6 |
|
|
client-secret: 1f7d08**********5b7**********29e |
|
|
client-secret: 1f7d08**********5b7**********29e |
|
|
redirect-uri: ${justauth.address}/social-callback?source=gitlab |
|
|
redirect-uri: ${justauth.address}/social-callback?source=gitlab |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
server: |
|
|
|
|
|
port: 8000 |
|
|
|
|
|
servlet: |
|
|
|
|
|
# 应用的访问路径 |
|
|
|
|
|
context-path: / |