2024-04-18 17:06:48 +08:00
|
|
|
|
# 开发环境配置
|
|
|
|
|
server:
|
2024-05-11 14:57:45 +08:00
|
|
|
|
vertx:
|
2024-05-11 16:40:25 +08:00
|
|
|
|
deploymentMode: 1 # 1:单机 2:集群
|
2024-05-14 13:44:21 +08:00
|
|
|
|
isSSL: false # vertx https或者http启动, ssl 证书有过期时间
|
2024-08-01 18:43:24 +08:00
|
|
|
|
rpcUri: /rpc.sac
|
2024-05-13 16:48:27 +08:00
|
|
|
|
sacResponseHeaderKey: sacErrorCode
|
2024-04-18 17:06:48 +08:00
|
|
|
|
environment: dev
|
2024-04-23 09:20:46 +08:00
|
|
|
|
server:
|
|
|
|
|
default:
|
2024-05-14 13:44:21 +08:00
|
|
|
|
port: 80 # https端口配置为443
|
2024-05-11 14:57:45 +08:00
|
|
|
|
cluster:
|
2024-05-11 15:18:01 +08:00
|
|
|
|
ip: 127.0.0.1
|
2024-05-11 14:57:45 +08:00
|
|
|
|
clusterName: sac-dev
|
2024-05-11 16:40:25 +08:00
|
|
|
|
networkPort: 5701
|
|
|
|
|
portAutoIncrement: false
|
2024-04-18 17:06:48 +08:00
|
|
|
|
# 服务器的HTTP端口,默认为8080
|
2024-06-03 17:16:10 +08:00
|
|
|
|
port: 5566
|
2024-04-18 17:06:48 +08:00
|
|
|
|
servlet:
|
|
|
|
|
# 应用的访问路径
|
|
|
|
|
context-path: /
|
|
|
|
|
tomcat:
|
|
|
|
|
# tomcat的URI编码
|
|
|
|
|
uri-encoding: UTF-8
|
|
|
|
|
# 连接数满后的排队数,默认为100
|
|
|
|
|
accept-count: 1000
|
|
|
|
|
threads:
|
|
|
|
|
# tomcat最大线程数,默认为200
|
|
|
|
|
max: 800
|
|
|
|
|
# Tomcat启动初始化的线程数,默认值10
|
|
|
|
|
min-spare: 100
|
|
|
|
|
|
|
|
|
|
# 日志配置
|
|
|
|
|
logging:
|
|
|
|
|
level:
|
|
|
|
|
com.sf: info
|
|
|
|
|
io.vertx: debug
|
|
|
|
|
org.springframework: warn
|
|
|
|
|
|
|
|
|
|
# Spring配置
|
|
|
|
|
spring:
|
|
|
|
|
# 服务模块
|
|
|
|
|
devtools:
|
|
|
|
|
restart:
|
|
|
|
|
# 热部署开关
|
|
|
|
|
enabled: true
|
|
|
|
|
# redis 配置
|
|
|
|
|
redis:
|
|
|
|
|
# 地址
|
2025-03-20 17:55:40 +08:00
|
|
|
|
host: 10.56.3.39 #
|
2024-04-18 17:06:48 +08:00
|
|
|
|
# 端口,默认为6379
|
2025-03-20 17:55:40 +08:00
|
|
|
|
port: 6379 #
|
2024-04-18 17:06:48 +08:00
|
|
|
|
# 数据库索引
|
2025-03-20 17:55:40 +08:00
|
|
|
|
database: 2
|
2024-04-18 17:06:48 +08:00
|
|
|
|
# 密码
|
|
|
|
|
password:
|
|
|
|
|
# 连接超时时间
|
|
|
|
|
timeout: 10s
|
|
|
|
|
lettuce:
|
|
|
|
|
pool:
|
|
|
|
|
# 连接池中的最小空闲连接
|
|
|
|
|
min-idle: 0
|
|
|
|
|
# 连接池中的最大空闲连接
|
|
|
|
|
max-idle: 8
|
|
|
|
|
# 连接池的最大数据库连接数
|
|
|
|
|
max-active: 8
|
|
|
|
|
# #连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
|
|
max-wait: -1ms
|
|
|
|
|
|
|
|
|
|
# Swagger配置
|
|
|
|
|
swagger:
|
|
|
|
|
# 是否开启swagger
|
|
|
|
|
enabled: true
|
|
|
|
|
# 请求前缀
|
|
|
|
|
pathMapping: /dev-api
|