Browse Source

初始化

master
xueshengxi 9 months ago
parent
commit
0a58bb6fc2
  1. 10
      riiwo-server/src/main/resources/application-local.yaml

10
riiwo-server/src/main/resources/application-local.yaml

@ -47,10 +47,10 @@ spring:
primary: master
datasource:
master:
# url: jdbc:mysql://192.168.2.110:3306/riiwo-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
url: jdbc:postgresql://192.168.2.110:5432/riiwo-boot?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai # PostgreSQL 连接的示例
username: postgres
password: rise123456
url: jdbc:mysql://192.168.254.110:3306/exhibition_hall?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
# url: jdbc:postgresql://192.168.254.110:5432/exhibition_hall?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Asia/Shanghai # PostgreSQL 连接的示例
username: root
password: dw%2023
#slave: # 模拟从库,可根据自己需要修改
#lazy: true # 开启懒加载,保证启动速度
#url: jdbc:mysql://127.0.0.1:3306/riiwo-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
@ -59,7 +59,7 @@ spring:
# Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
redis:
host: 192.168.2.110 # 地址
host: 192.168.254.110 # 地址
port: 6379 # 端口
database: 1 # 数据库索引
password: 123456 # 密码,建议生产环境开启

Loading…
Cancel
Save