fabric-samples/distributed-deploy/bcp-install-main/target/classes/application.yml
zeoio 958749e76c distributed-deploy: add distributed deploy tools for prod env
Signed-off-by: zeoio <kinsleer@outlook.com>
2020-04-29 10:01:39 +08:00

62 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

spring:
application:
name: bcp-mgr
servlet:
multipart:
maxFileSize: 500MB
maxRequestSize: 500MB
profiles:
active: dev
#线程池相关配置
thread:
pool:
#核心线程数
corePoolSize: 10
#最大线程数
maxPoolSize: 20
# 队列最大长度
queueCapacity: 50
#线程池维护线程所允许的空闲时间
keepAliveSeconds: 6000
server:
port: 8080
tomcat:
min-spare-threads: 20
max-threads: 200
connection-timeout: 6000
httpClient:
poolSize: 30
socketTimeout: 60000
connectTimeout: 60000
connectionRequestTimeout: 60000
defaultMaxPerRoute: 10
whiteList:
referer: localhost,192.168.43.59
# 运行时参数
global:
# 是否发起机构: 1 -- 发起机构0 -- 其他机构
initOrg: 1
# 是否主节点: 1 -- 主节点0 -- 从节点
master: 1
init:
# initconfig.propertise 文件路径;默认为空,空--不创建初始化的文件;
# 传入文件路径时,则为初始化,创建完初始化文件后,自动退出
# 测试时可以通过参数传入;
# 用脚本启动时,需要通过参数传入
config: ""
# 产生配置文件的根目录
dir: ""
# 是否做初始化0 -- 否1 -- 是
yes: 0
install:
# 安装模式: newInstall, updateNetwork
mode: "newInstall"
# 安装路径
path: ""