初始化项目

This commit is contained in:
2026-03-23 22:43:09 +08:00
parent b904a58fae
commit b83cf380f2

View File

@@ -2,10 +2,17 @@
# 使用环境配置,只需 JVM 参数里加:-Dspring.profiles.active=prod
server:
port: 8980
servlet:
context-path: /js
context-path: ~
vue:
ctxPath:
replaceText: /vuePath
vuePath: /worker
shiro:
defaultPath: ${vuePath}/login
# 数据库连接
jdbc:
@@ -13,9 +20,9 @@ jdbc:
# Mysql 数据库配置
type: mysql
driver: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:${MYSQL_PORT:3306}/${MYSQL_DBNAME:jeesite}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai
username: ${MYSQL_USERNAME:jeesite}
password: ${MYSQL_PASSWORD:jeesite}
url: jdbc:mysql://192.168.31.182:13306/system?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true
username: dream
password: info_dream
testSql: SELECT 1
# 数据库连接池配置
@@ -39,3 +46,11 @@ mybatis:
mapper:
refresh:
enabled: false
#======================================#
#======== FileUpload settings =========#
#======================================#
file:
enabled: true
baseDir: /ogsapp/files
maxFileSize: '500*1024*1024'