config: use remote MySQL(39.107.53.187) and Redis(redisdev.xuqinmin.com)
这个提交包含在:
父节点
3e81034c11
当前提交
05c9639523
@ -5,10 +5,16 @@ spring:
|
|||||||
application:
|
application:
|
||||||
name: im-service
|
name: im-service
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://localhost:3306/xuqm_im?useSSL=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true
|
url: jdbc:mysql://39.107.53.187:3306/xuqm_im?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
|
||||||
username: root
|
username: xuqm
|
||||||
password: root
|
password: Xuqm@2026
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
hikari:
|
||||||
|
minimum-idle: 5
|
||||||
|
maximum-pool-size: 20
|
||||||
|
connection-timeout: 30000
|
||||||
|
idle-timeout: 300000
|
||||||
|
max-lifetime: 900000
|
||||||
jpa:
|
jpa:
|
||||||
hibernate:
|
hibernate:
|
||||||
ddl-auto: update
|
ddl-auto: update
|
||||||
@ -18,8 +24,16 @@ spring:
|
|||||||
dialect: org.hibernate.dialect.MySQLDialect
|
dialect: org.hibernate.dialect.MySQLDialect
|
||||||
data:
|
data:
|
||||||
redis:
|
redis:
|
||||||
host: localhost
|
host: redisdev.xuqinmin.com
|
||||||
port: 6379
|
port: 6379
|
||||||
|
password: xuqinmin1022
|
||||||
|
database: 2
|
||||||
|
timeout: 10s
|
||||||
|
lettuce:
|
||||||
|
pool:
|
||||||
|
min-idle: 0
|
||||||
|
max-idle: 8
|
||||||
|
max-active: 8
|
||||||
jackson:
|
jackson:
|
||||||
time-zone: UTC
|
time-zone: UTC
|
||||||
serialization:
|
serialization:
|
||||||
|
|||||||
@ -5,10 +5,16 @@ spring:
|
|||||||
application:
|
application:
|
||||||
name: push-service
|
name: push-service
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://localhost:3306/xuqm_push?useSSL=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true
|
url: jdbc:mysql://39.107.53.187:3306/xuqm_push?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
|
||||||
username: root
|
username: xuqm
|
||||||
password: root
|
password: Xuqm@2026
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
hikari:
|
||||||
|
minimum-idle: 5
|
||||||
|
maximum-pool-size: 20
|
||||||
|
connection-timeout: 30000
|
||||||
|
idle-timeout: 300000
|
||||||
|
max-lifetime: 900000
|
||||||
jpa:
|
jpa:
|
||||||
hibernate:
|
hibernate:
|
||||||
ddl-auto: update
|
ddl-auto: update
|
||||||
|
|||||||
@ -5,10 +5,16 @@ spring:
|
|||||||
application:
|
application:
|
||||||
name: tenant-service
|
name: tenant-service
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://localhost:3306/xuqm_tenant?useSSL=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true
|
url: jdbc:mysql://39.107.53.187:3306/xuqm_tenant?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
|
||||||
username: root
|
username: xuqm
|
||||||
password: root
|
password: Xuqm@2026
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
hikari:
|
||||||
|
minimum-idle: 5
|
||||||
|
maximum-pool-size: 20
|
||||||
|
connection-timeout: 30000
|
||||||
|
idle-timeout: 300000
|
||||||
|
max-lifetime: 900000
|
||||||
jpa:
|
jpa:
|
||||||
hibernate:
|
hibernate:
|
||||||
ddl-auto: update
|
ddl-auto: update
|
||||||
@ -19,9 +25,16 @@ spring:
|
|||||||
format_sql: true
|
format_sql: true
|
||||||
data:
|
data:
|
||||||
redis:
|
redis:
|
||||||
host: localhost
|
host: redisdev.xuqinmin.com
|
||||||
port: 6379
|
port: 6379
|
||||||
timeout: 5000ms
|
password: xuqinmin1022
|
||||||
|
database: 1
|
||||||
|
timeout: 10s
|
||||||
|
lettuce:
|
||||||
|
pool:
|
||||||
|
min-idle: 0
|
||||||
|
max-idle: 8
|
||||||
|
max-active: 8
|
||||||
mail:
|
mail:
|
||||||
host: smtp.example.com
|
host: smtp.example.com
|
||||||
port: 587
|
port: 587
|
||||||
|
|||||||
@ -5,10 +5,16 @@ spring:
|
|||||||
application:
|
application:
|
||||||
name: update-service
|
name: update-service
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://localhost:3306/xuqm_update?useSSL=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true
|
url: jdbc:mysql://39.107.53.187:3306/xuqm_update?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
|
||||||
username: root
|
username: xuqm
|
||||||
password: root
|
password: Xuqm@2026
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
hikari:
|
||||||
|
minimum-idle: 5
|
||||||
|
maximum-pool-size: 20
|
||||||
|
connection-timeout: 30000
|
||||||
|
idle-timeout: 300000
|
||||||
|
max-lifetime: 900000
|
||||||
jpa:
|
jpa:
|
||||||
hibernate:
|
hibernate:
|
||||||
ddl-auto: update
|
ddl-auto: update
|
||||||
|
|||||||
正在加载...
在新工单中引用
屏蔽一个用户