This commit is contained in:
ajaxfan
2021-02-23 15:09:07 +08:00
parent 1cb7d66d33
commit 64439bd4e8

View File

@ -3,6 +3,11 @@ server:
servlet:
context-path: /
seata:
service:
vgroup-mapping:
biz-service-ebtp-project-service-group: default
# 对应 apollo 配置中心的应用名
app:
id: biz-service-ebtp-project
@ -88,35 +93,6 @@ spring:
nodes: 10.125.164.124:32718, 10.125.164.118:32716, 10.125.164.121:32716
password: Unicom#135
lettuce:
# jedis:
pool:
maxTotal: 50
minIdle: 1
maxWaitMillis: 5000
maxIdle: 5
testOnBorrow: true
testOnReturn: true
testWhileIdle: true
token:
database: 0
host: 125.32.114.204
port: 16379
password: redis@CC1234
timeout: 6000
uuid:
database: 1
host: 125.32.114.204
port: 16379
password: redis@CC1234
timeout: 6000
cache:
database: 2
host: 125.32.114.204
port: 16379
password: redis@CC1234
timeout: 6000
# 天宫Eureka配置
eureka:
client:
@ -124,7 +100,9 @@ eureka:
defaultZone: http://10.242.31.158:5001/eureka,http://10.242.31.158:5002/eureka,http://10.242.31.158:5003/eureka
instance:
prefer-ip-address: true
instance-ip: ${spring.cloud.client.ip-address}:${server.port}
hostname: http://10.242.31.158
# instance-ip: ${spring.cloud.client.ip-address}:${server.port}
instance-ip: http://10.242.31.158:${server.port}
mybatis-plus:
configuration: