Files
my-worker/web-mini/src/main/resources/config/application.yml

188 lines
4.1 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.

#======================================#
#========== Project settings ==========#
#======================================#
# 产品或项目名称、软件开发公司名称
productName: JeeSite Demo
companyName: ThinkGem
# 产品版本、版权年份
productVersion: V5.13
copyrightYear: 2025
# 是否演示模式
demoMode: false
# 专为分离端提供接口服务
apiMode: false
#======================================#
#========== Server settings ===========#
#======================================#
server:
port: 8980
servlet:
context-path: /js
register-default-servlet: false
# encoding.enabled: true
tomcat:
uri-encoding: UTF-8
# 表单请求数据的最大大小
max-http-form-post-size: 20MB
# # 客户端发送请求参数个数限制
# max-parameter-count: 10000
# # 文件上传的表单请求参数个数限制
# max-part-count: 50
# # 进程的最大连接数
# max-connections: 8192
# # 连接数满后的排队个数
# accept-count: 100
# # 线程数最大和最小个数
# threads:
# max: 200
# min-spare: 10
# 当 Nginx 为 httpstomcat 为 http 时,设置该选项为 true
schemeHttps: false
#======================================#
#========== Database sttings ==========#
#======================================#
# 数据库连接(默认关闭,如果和 web.core.enabled 同时开启可使用如下功能:
# 配置参数http://127.0.0.1:8980/js/a/sys/config/list
# 模块管理http://127.0.0.1:8980/js/a/sys/module/list
# 字典管理http://127.0.0.1:8980/js/a/sys/dictType/list
jdbc:
# # Mysql 数据库配置
# type: mysql
# driver: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://127.0.0.1:3306/jeesite_mini?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai
# username: root
# password: 123456
# testSql: SELECT 1
# 数据库连接池配置
pool:
# 初始化连接数
init: 1
# 最小连接数
minIdle: 3
# 最大连接数
maxActive: 20
#======================================#
#========== Framework settings ========#
#======================================#
spring:
# 应用程序名称
application:
name: jeesite-web-mini
# 环境名称(注意:不可设置为 test 它是单元测试专用的名称)
profiles:
active: default
# 打印横幅
main:
bannerMode: "off"
# MVC 映射匹配策略
mvc:
pathmatch:
matching-strategy: ANT_PATH_MATCHER
# JTA事务
jta:
enabled: false
# 缓存配置
cache:
# 缓存及会话共享(专业版)
isClusterMode: false
# 日志配置
logging:
config: classpath:config/logback-spring.xml
# MyBatis 相关
mybatis:
# Mapper文件刷新线程
mapper:
refresh:
enabled: false
# 管理基础路径
adminPath: /a
# 前端基础路径
frontPath: /f
# 配置相关功能(参数、模块、字典)
config:
enabled: false
# 用户权限相关(用户、角色、菜单)
user:
enabled: false
# 国际化管理
lang:
enabled: false
# 任务调度
job:
enabled: false
# 代码生成
gen:
enabled: false
# 系统监控(默认开启,可关闭)访问地址如下:
# 服务监控http://127.0.0.1:8980/js/a/state/server/index
# 缓存监控http://127.0.0.1:8980/js/a/state/cache/index
state:
enabled: true
# Web 相关
web:
# MVC拦截器访问日志和手机视图
interceptor:
log:
enabled: false
mobile:
enabled: false
# 是否启用核心内置功能的Controller加载
core:
enabled: false
# 在线API文档
springdoc:
api-docs:
enabled: true
swagger-ui:
enabled: true
# 文件上传
file:
enabled: false
isFileStreamDown: false
# 消息提醒中心
msg:
enabled: false
#======================================#
#========== Project settings ==========#
#======================================#