修改镜像文件以及配置文件
This commit is contained in:
@ -2,7 +2,7 @@ server:
|
||||
port: 18012
|
||||
servlet:
|
||||
context-path: /
|
||||
|
||||
|
||||
seata:
|
||||
service:
|
||||
vgroup-mapping:
|
||||
@ -11,11 +11,11 @@ seata:
|
||||
type: eureka
|
||||
eureka:
|
||||
serviceUrl: http://eureka-1:8080/eureka,http://eureka-2:8080/eureka,http://eureka-3:8080/eureka
|
||||
|
||||
|
||||
# 对应 apollo 配置中心的应用名
|
||||
app:
|
||||
id: biz-service-ebtp-project
|
||||
|
||||
|
||||
# Apollo 配置信息
|
||||
apollo:
|
||||
meta: http://apollo-configservice:8080/
|
||||
@ -24,15 +24,15 @@ apollo:
|
||||
enabled: true
|
||||
eagerLoad:
|
||||
enabled: true
|
||||
|
||||
|
||||
spring:
|
||||
aop:
|
||||
auto: true #开启spring的aop配置
|
||||
proxy-target-class: true
|
||||
|
||||
|
||||
application:
|
||||
name: biz-service-ebtp-project
|
||||
|
||||
|
||||
shardingsphere:
|
||||
datasource:
|
||||
names: ds0
|
||||
@ -41,8 +41,8 @@ spring:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
username: mall
|
||||
password: unicom
|
||||
jdbc-url: jdbc:mysql://10.125.160.30:3306/ebtp_mall_project?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
|
||||
url: jdbc:mysql://10.125.160.30:3306/ebtp_mall_project?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
|
||||
jdbc-url: jdbc:mysql://10.125.160.30:3306/ebtp_mall_project?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true
|
||||
url: jdbc:mysql://10.125.160.30:3306/ebtp_mall_project?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true
|
||||
filters: stat,wall,log4j
|
||||
maxActive: 20
|
||||
initialSize: 1
|
||||
@ -66,21 +66,21 @@ spring:
|
||||
time-zone: GMT+8
|
||||
serialization:
|
||||
write-dates-as-timestamps: false
|
||||
|
||||
|
||||
# 天宫Kafka增加了安全认证,需要配置安全属性
|
||||
kafka:
|
||||
bootstrap-servers: 10.125.164.192:32005,10.125.164.193:32005,10.125.164.194:32005
|
||||
template:
|
||||
default-topic: jl_test
|
||||
|
||||
|
||||
# 生产者配置参数
|
||||
producer:
|
||||
client-id: core-service-ebtp-crypt
|
||||
properties:
|
||||
properties:
|
||||
security.protocol: SASL_PLAINTEXT
|
||||
sasl.mechanism: SCRAM-SHA-256
|
||||
sasl.jaas.config: org.apache.kafka.common.security.scram.ScramLoginModule required username="jltest" password="Unicom#123";
|
||||
|
||||
|
||||
# 消费者配置参数
|
||||
consumer:
|
||||
group-id: core-service-ebtp-crypt-consumer
|
||||
@ -89,7 +89,7 @@ spring:
|
||||
security.protocol: SASL_PLAINTEXT
|
||||
sasl.mechanism: SCRAM-SHA-256
|
||||
sasl.jaas.config: org.apache.kafka.common.security.scram.ScramLoginModule required username="jltest" password="Unicom#123";
|
||||
|
||||
|
||||
# 天宫 redis 需要使用哨兵进行访问
|
||||
redis:
|
||||
sentinel:
|
||||
@ -121,7 +121,7 @@ mybatis-plus:
|
||||
logic-not-delete-value: normal # 逻辑删除标记:正常数据
|
||||
logic-delete-value: deleted # 逻辑删除标记:已删除的数据
|
||||
type-aliases-package: com.chinaunicom.mall.ebtp.project
|
||||
|
||||
|
||||
hystrix:
|
||||
command:
|
||||
default:
|
||||
@ -135,13 +135,13 @@ hystrix:
|
||||
circuitBreaker:
|
||||
sleepWindowInMilliseconds: 200000
|
||||
forceClosed: true
|
||||
|
||||
|
||||
ribbon:
|
||||
ReadTimeout: 200000 #请求处理的超时时间
|
||||
ConnectTimeout: 200000 #请求连接超时时间
|
||||
MaxAutoRetries: 0 #对当前实例的重试次数
|
||||
MaxAutoRetriesNextServer: 1 #切换实例的重试次数 1
|
||||
|
||||
|
||||
mconfig:
|
||||
swagger-ui-open: true
|
||||
exception-handle-enabled: true
|
||||
@ -165,7 +165,7 @@ mconfig:
|
||||
service-name-tender: biz-service-ebtp-tender #标段投标微服务
|
||||
wfSectionNo: '080'
|
||||
wfSectionName: 标段重新评审审批单
|
||||
|
||||
|
||||
# 用户暴露给 prometheus 的健康数据
|
||||
management:
|
||||
endpoints:
|
||||
@ -174,5 +174,4 @@ management:
|
||||
include: "*"
|
||||
cors:
|
||||
allowed-origins: "*"
|
||||
allowed-methods: "*"
|
||||
|
||||
allowed-methods: "*"
|
Reference in New Issue
Block a user