Files
pqs/pqs-process/process-boot/src/main/resources/bootstrap.yml

70 lines
1.7 KiB
YAML
Raw Normal View History

2022-11-10 18:30:54 +08:00
#当前服务的基本信息
microservice:
ename: @artifactId@
name: '@name@'
version: @version@
sentinel:
url: @sentinel.url@
gateway:
url: @gateway.url@
server:
port: 10222
#feign接口开启服务熔断降级处理
feign:
sentinel:
enabled: true
spring:
application:
name: @artifactId@
#nacos注册中心以及配置中心的指定
cloud:
nacos:
discovery:
ip: @service.server.url@
server-addr: @nacos.url@
namespace: @nacos.namespace@
config:
server-addr: @nacos.url@
namespace: @nacos.namespace@
file-extension: yaml
shared-configs:
- data-id: share-config.yaml
refresh: true
2023-01-03 09:00:20 +08:00
- data-Id: process-config.yaml
2022-11-10 18:30:54 +08:00
refresh: true
main:
allow-bean-definition-overriding: true
servlet:
multipart:
max-file-size: 100MB
max-request-size: 100MB
2023-04-14 15:03:13 +08:00
flowable:
2024-03-21 19:59:33 +08:00
database-schema-update: false
db-history-used: true # flowable6 默认 true 生成信息表,无需手动设置
check-process-definitions: false # 设置为 false禁用 /resources/processes 自动部署 BPMN XML 流程
history-level: full # full保存历史数据的最高级别可保存全部流程相关细节包括流程流转各节点参数
2023-04-14 15:03:13 +08:00
async-executor-activate: false
2022-11-10 18:30:54 +08:00
#项目日志的配置
logging:
config: http://@nacos.url@/nacos/v1/cs/configs?tenant=@nacos.namespace@&group=DEFAULT_GROUP&dataId=logback.xml
level:
root: info
#mybatis配置信息
mybatis-plus:
type-aliases-package: com.njcn.process.pojo
2023-08-31 16:33:06 +08:00
gw:
url: dwzyywzt-pms3-proxy.com
code: 13B9B47F1E483324E05338297A0A0595
2022-11-10 18:30:54 +08:00
mqtt:
client-id: @artifactId@${random.value}