上传代码
This commit is contained in:
@ -10,7 +10,7 @@ seata:
|
||||
registry:
|
||||
type: eureka
|
||||
eureka:
|
||||
serviceUrl: http://eureka-1-svc:8080/eureka,http://eureka-2-svc:8080/eureka,http://eureka-3-svc:8080/eureka
|
||||
serviceUrl: http://localhost:8080/eureka/
|
||||
|
||||
# 对应 apollo 配置中心的应用名
|
||||
app:
|
||||
@ -18,7 +18,7 @@ app:
|
||||
|
||||
# Apollo 配置信息
|
||||
apollo:
|
||||
meta: http://10.238.25.112:6001/
|
||||
meta: http://localhost:8070
|
||||
bootstrap:
|
||||
namespace: application
|
||||
enabled: true
|
||||
@ -39,10 +39,10 @@ spring:
|
||||
ds0:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
username: profilb
|
||||
password: ProdMall3_0118profilb
|
||||
jdbc-url: jdbc:mysql://10.168.9.36:3306/ebtp_mall_project?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true
|
||||
url: jdbc:mysql://10.168.9.36:3306/ebtp_mall_project?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true
|
||||
username: root
|
||||
password: Unicom@2024
|
||||
jdbc-url: jdbc:mysql://59.110.10.99:53306/ebtp_mall_project?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
|
||||
url: jdbc:mysql://59.110.10.99:53306/ebtp_mall_project?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
|
||||
filters: stat,wall,log4j
|
||||
maxActive: 20
|
||||
initialSize: 1
|
||||
@ -67,7 +67,7 @@ spring:
|
||||
serialization:
|
||||
write-dates-as-timestamps: false
|
||||
|
||||
# 天宫Kafka增加了安全认证,需要配置安全属性
|
||||
# 天宫Kafka增加了安全认证,需要配置安全属性
|
||||
kafka:
|
||||
bootstrap-servers: 10.172.48.110:32050,10.172.48.109:32050,10.172.48.111:32050
|
||||
template:
|
||||
@ -81,7 +81,7 @@ spring:
|
||||
sasl.mechanism: SCRAM-SHA-256
|
||||
sasl.jaas.config: org.apache.kafka.common.security.scram.ScramLoginModule required username="eshop-kafka" password="Unicom#135";
|
||||
|
||||
# 消费者配置参数
|
||||
# 消费者配置参数
|
||||
consumer:
|
||||
group-id: core-service-ebtp-crypt-consumer
|
||||
auto-offset-reset: latest
|
||||
@ -94,14 +94,14 @@ spring:
|
||||
redis:
|
||||
sentinel:
|
||||
master: eshop-redis2
|
||||
nodes: 10.172.48.83:32521,10.172.48.100:32521,10.172.48.94:32561
|
||||
nodes: localhost:6379
|
||||
password: Unicom#135
|
||||
|
||||
# 天宫Eureka配置
|
||||
eureka:
|
||||
client:
|
||||
service-url:
|
||||
defaultZone: http://eureka-1-svc:8080/eureka,http://eureka-2-svc:8080/eureka,http://eureka-3-svc:8080/eureka
|
||||
defaultZone: http://localhost:8080/eureka/
|
||||
instance:
|
||||
prefer-ip-address: true
|
||||
instance-ip: ${spring.cloud.client.ip-address}:${server.port}
|
||||
@ -165,7 +165,7 @@ mconfig:
|
||||
wfSectionNo: '080'
|
||||
wfSectionName: 标段重新评审审批单
|
||||
|
||||
# 用户暴露给 prometheus 的健康数据
|
||||
# 用户暴露给 prometheus 的健康数据
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
@ -173,4 +173,4 @@ management:
|
||||
include: "*"
|
||||
cors:
|
||||
allowed-origins: "*"
|
||||
allowed-methods: "*"
|
||||
allowed-methods: "*"
|
||||
|
Reference in New Issue
Block a user