Browse Source

数据库同步更新

master
buaixuexideshitongxue 2 months ago
parent
commit
437b75dac7
  1. 15
      src/main/resources/application-dev.yml
  2. 6
      src/main/resources/application-prod.yml

15
src/main/resources/application-dev.yml

@ -32,10 +32,14 @@ spring:
password: ip12341234 password: ip12341234
mailbox: mailbox:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
# driver-class-name: org.postgresql.Driver
# url: jdbc:postgresql://58.51.152.18:10642/mailbox?currentSchema=mailbox
# username: alphay
# password: alphay@123
driver-class-name: org.postgresql.Driver driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://58.51.152.18:10642/mailbox?currentSchema=mailbox url: jdbc:postgresql://59.173.13.131:10642/mailbox?currentSchema=mailbox_outer
username: alphay username: root
password: alphay@123 password: 123456
wvp: wvp:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
@ -60,6 +64,11 @@ spring:
url: jdbc:gbase://65.47.16.209:5258/db_kxzd_xxzx url: jdbc:gbase://65.47.16.209:5258/db_kxzd_xxzx
username: csga_wdpc username: csga_wdpc
password: csga_wdpc@123 password: csga_wdpc@123
invest:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://172.31.217.20:31868/invert?serverTimezone=GMT%2B8
username: root
password: ip12341234
data: data:
redis: redis:
host: 172.31.217.20 host: 172.31.217.20

6
src/main/resources/application-prod.yml

@ -56,6 +56,12 @@ spring:
url: jdbc:gbase://65.47.16.209:5258/db_kxzd_xxzx url: jdbc:gbase://65.47.16.209:5258/db_kxzd_xxzx
username: csga_wdpc username: csga_wdpc
password: csga_wdpc@123 password: csga_wdpc@123
invert:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://65.47.6.109:3306/invert?serverTimezone=GMT%2B8&useSSL=false
username: root
password: ip12341234
druid: druid:
min-evictable-idle-time-millis: 300000 min-evictable-idle-time-millis: 300000
test-on-borrow: false test-on-borrow: false

Loading…
Cancel
Save