初始化项目
This commit is contained in:
@@ -2,10 +2,17 @@
|
|||||||
# 使用环境配置,只需 JVM 参数里加:-Dspring.profiles.active=prod
|
# 使用环境配置,只需 JVM 参数里加:-Dspring.profiles.active=prod
|
||||||
|
|
||||||
server:
|
server:
|
||||||
|
|
||||||
port: 8980
|
port: 8980
|
||||||
servlet:
|
servlet:
|
||||||
context-path: /js
|
context-path: ~
|
||||||
|
vue:
|
||||||
|
ctxPath:
|
||||||
|
replaceText: /vuePath
|
||||||
|
|
||||||
|
vuePath: /worker
|
||||||
|
|
||||||
|
shiro:
|
||||||
|
defaultPath: ${vuePath}/login
|
||||||
|
|
||||||
# 数据库连接
|
# 数据库连接
|
||||||
jdbc:
|
jdbc:
|
||||||
@@ -13,9 +20,9 @@ jdbc:
|
|||||||
# Mysql 数据库配置
|
# Mysql 数据库配置
|
||||||
type: mysql
|
type: mysql
|
||||||
driver: com.mysql.cj.jdbc.Driver
|
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
|
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: ${MYSQL_USERNAME:jeesite}
|
username: dream
|
||||||
password: ${MYSQL_PASSWORD:jeesite}
|
password: info_dream
|
||||||
testSql: SELECT 1
|
testSql: SELECT 1
|
||||||
|
|
||||||
# 数据库连接池配置
|
# 数据库连接池配置
|
||||||
@@ -39,3 +46,11 @@ mybatis:
|
|||||||
mapper:
|
mapper:
|
||||||
refresh:
|
refresh:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
#======================================#
|
||||||
|
#======== FileUpload settings =========#
|
||||||
|
#======================================#
|
||||||
|
file:
|
||||||
|
enabled: true
|
||||||
|
baseDir: /ogsapp/files
|
||||||
|
maxFileSize: '500*1024*1024'
|
||||||
Reference in New Issue
Block a user