Files
my-worker/web-mini/src/main/resources/config/application.yml
2025-10-18 00:21:06 +08:00

154 lines
3.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 Mini
companyName: ThinkGem
# 产品版本、版权年份
productVersion: V5.14
copyrightYear: 2025
# 是否演示模式
demoMode: false
# 专为分离端提供接口服务
apiMode: false
#======================================#
#========== Server settings ===========#
#======================================#
server:
port: 8980
servlet:
context-path: /js
register-default-servlet: false
tomcat:
uri-encoding: UTF-8
max-http-form-post-size: 20MB
# 当 Nginx 为 httpstomcat 为 http 时,设置该选项为 true
schemeHttps: false
#======================================#
#========= Database settings ==========#
#======================================#
# 数据库连接
jdbc:
# Mysql 数据库配置
# type: mysql
# driver: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://127.0.0.1:3306/jeesite_v5?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
# JTA事务
jta:
enabled: false
#======================================#
#========== Framework settings ========#
#======================================#
spring:
# 应用程序名称
application:
name: jeesite-web-mini
# 环境名称(注意:不可设置为 test 它是单元测试专用的名称)
profiles:
active: default
# 打印横幅
main:
banner-mode: "off"
lazy-initialization: true
# # MVC 映射匹配策略
# mvc:
# pathmatch:
# matching-strategy: ANT_PATH_MATCHER
# 缓存配置
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
state:
enabled: true
# 核心功能 Controller 开关
web:
core:
enabled: false
# 文件上传
file:
enabled: false
# 消息提醒中心
msg:
enabled: false
#======================================#
#========== Project settings ==========#
#======================================#