记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
ddb84f0a
Commit
ddb84f0a
authored
May 24, 2021
by
anjiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交admin-web配置
parent
caf59a5c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
252 additions
and
191 deletions
+252
-191
application-client-admin-web.yml
...n-web/src/main/resources/application-client-admin-web.yml
+137
-0
application-dev.yml
...t-client-admin-web/src/main/resources/application-dev.yml
+27
-0
application-druid.yml
...client-admin-web/src/main/resources/application-druid.yml
+56
-56
application-prod.yml
...-client-admin-web/src/main/resources/application-prod.yml
+14
-0
application-test.yml
...-client-admin-web/src/main/resources/application-test.yml
+14
-0
application.yml
...idnet-client-admin-web/src/main/resources/application.yml
+4
-135
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/application-client-admin-web.yml
0 → 100644
View file @
ddb84f0a
# 项目相关配置
ruoyi
:
# 名称
name
:
RuoYi
# 版本
version
:
4.6.1
# 版权年份
copyrightYear
:
2021
# 实例演示开关
demoEnabled
:
true
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
profile
:
/users/anjiabin/ruoyi/uploadPath
# 获取ip地址开关
addressEnabled
:
false
# 开发环境配置
server
:
# 服务器的HTTP端口,默认为80
port
:
80
servlet
:
# 应用的访问路径
context-path
:
/
tomcat
:
# tomcat的URI编码
uri-encoding
:
UTF-8
# tomcat最大线程数,默认为200
max-threads
:
800
# Tomcat启动初始化的线程数,默认值25
min-spare-threads
:
30
# 日志配置
logging
:
level
:
com.liquidnet.client.admin
:
debug
org.springframework
:
warn
# 用户配置
user
:
password
:
# 密码错误{maxRetryCount}次锁定10分钟
maxRetryCount
:
5
# Spring配置
spring
:
application
:
name
:
liquidnet-client-admin-web
# 模板引擎
thymeleaf
:
mode
:
HTML
encoding
:
utf-8
# 禁用缓存
cache
:
false
# 资源信息
messages
:
# 国际化资源文件路径
basename
:
static/i18n/messages
jackson
:
time-zone
:
GMT+8
date-format
:
yyyy-MM-dd HH:mm:ss
profiles
:
in
:
druid
# 文件上传
servlet
:
multipart
:
# 单个文件大小
max-file-size
:
10MB
# 设置总上传的文件大小
max-request-size
:
20MB
# 服务模块
devtools
:
restart
:
# 热部署开关
enabled
:
true
# MyBatis
mybatis
:
# 搜索指定包别名
typeAliasesPackage
:
com.liquidnet.client.admin.**.domain
# 配置mapper的扫描,找到所有的mapper.xml映射文件
mapperLocations
:
classpath*:mapper/**/*Mapper.xml
# 加载全局的配置文件
configLocation
:
classpath:mybatis/mybatis-config.xml
# PageHelper分页插件
pagehelper
:
helperDialect
:
mysql
reasonable
:
true
supportMethodsArguments
:
true
params
:
count=countSql
# Shiro
shiro
:
user
:
# 登录地址
loginUrl
:
/login
# 权限认证失败地址
unauthorizedUrl
:
/unauth
# 首页地址
indexUrl
:
/index
# 验证码开关
captchaEnabled
:
true
# 验证码类型 math 数组计算 char 字符
captchaType
:
math
cookie
:
# 设置Cookie的域名 默认空,即当前访问的域名
domain
:
# 设置cookie的有效访问路径
path
:
/
# 设置HttpOnly属性
httpOnly
:
true
# 设置Cookie的过期时间,天为单位
maxAge
:
30
session
:
# Session超时时间,-1代表永不过期(默认30分钟)
expireTime
:
30
# 同步session到数据库的周期(默认1分钟)
dbSyncPeriod
:
1
# 相隔多久检查一次session的有效性,默认就是10分钟
validationInterval
:
10
# 同一个用户最大会话数,比如2的意思是同一个账号允许最多同时两个人登录(默认-1不限制)
maxSession
:
-1
# 踢出之前登录的/之后登录的用户,默认踢出之前登录的用户
kickoutAfter
:
false
# 防止XSS攻击
xss
:
# 过滤开关
enabled
:
true
# 排除链接(多个用逗号分隔)
excludes
:
/system/notice/*
# 匹配链接
urlPatterns
:
/system/*,/monitor/*,/tool/*
# Swagger配置
swagger
:
# 是否开启swagger
enabled
:
true
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/application-dev.yml
0 → 100644
View file @
ddb84f0a
# begin-dev-这里是配置信息基本值
liquidnet
:
info
:
port
:
7099
context
:
name
:
liquidnet-client-admin-web
logfile
:
path
:
./logs
name
:
client-admin-web
mysql
:
master
:
urlHostAndPort
:
39.106.122.201:3308
username
:
testmall
password
:
zhengzai!mYT
database-name
:
test_ln_scene
slave
:
urlHostAndPort
:
39.106.122.201:3308
username
:
testmall
password
:
zhengzai!mYT
database-name
:
test_ln_scene
# end-dev-这里是配置信息基本值
spring
:
profiles
:
include
:
-
druid
-
client-admin-web
\ No newline at end of file
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/application-druid.yml
View file @
ddb84f0a
# 数据源配置
# 数据源配置
spring
:
spring
:
datasource
:
datasource
:
type
:
com.alibaba.druid.pool.DruidDataSource
type
:
com.alibaba.druid.pool.DruidDataSource
driverClassName
:
com.mysql.cj.jdbc.Driver
driverClassName
:
com.mysql.cj.jdbc.Driver
druid
:
druid
:
# 主库数据源
# 主库数据源
master
:
master
:
url
:
jdbc:mysql://
39.106.122.201:3308/mdsky_admin?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url
:
jdbc:mysql://
${liquidnet.mysql.maseter.urlHostAndPort}/${liquidnet.mysql.maseter.database-name}?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
testmall
username
:
${liquidnet.mysql.master.username}
password
:
zhengzai!mYT
password
:
${liquidnet.mysql.master.password}
# 从库数据源
# 从库数据源
slave
:
slave
:
# 从数据源开关/默认关闭
# 从数据源开关/默认关闭
enabled
:
false
enabled
:
true
url
:
url
:
jdbc:mysql://${liquidnet.mysql.slave.urlHostAndPort}/${liquidnet.mysql.slave.database-name}?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
username
:
${liquidnet.mysql.slave.username}
password
:
password
:
${liquidnet.mysql.slave.password}
# 初始连接数
# 初始连接数
initialSize
:
5
initialSize
:
5
# 最小连接池数量
# 最小连接池数量
minIdle
:
10
minIdle
:
10
# 最大连接池数量
# 最大连接池数量
maxActive
:
20
maxActive
:
20
# 配置获取连接等待超时的时间
# 配置获取连接等待超时的时间
maxWait
:
60000
maxWait
:
60000
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
timeBetweenEvictionRunsMillis
:
60000
timeBetweenEvictionRunsMillis
:
60000
# 配置一个连接在池中最小生存的时间,单位是毫秒
# 配置一个连接在池中最小生存的时间,单位是毫秒
minEvictableIdleTimeMillis
:
300000
minEvictableIdleTimeMillis
:
300000
# 配置一个连接在池中最大生存的时间,单位是毫秒
# 配置一个连接在池中最大生存的时间,单位是毫秒
maxEvictableIdleTimeMillis
:
900000
maxEvictableIdleTimeMillis
:
900000
# 配置检测连接是否有效
# 配置检测连接是否有效
validationQuery
:
SELECT 1 FROM DUAL
validationQuery
:
SELECT 1 FROM DUAL
testWhileIdle
:
true
testWhileIdle
:
true
testOnBorrow
:
false
testOnBorrow
:
false
testOnReturn
:
false
testOnReturn
:
false
webStatFilter
:
webStatFilter
:
enabled
:
true
enabled
:
true
statViewServlet
:
statViewServlet
:
enabled
:
true
enabled
:
true
# 设置白名单,不填则允许所有访问
# 设置白名单,不填则允许所有访问
allow
:
allow
:
url-pattern
:
/druid/*
url-pattern
:
/druid/*
# 控制台管理用户名和密码
# 控制台管理用户名和密码
login-username
:
ruoyi
login-username
:
ruoyi
login-password
:
123456
login-password
:
123456
filter
:
filter
:
stat
:
stat
:
enabled
:
true
enabled
:
true
# 慢SQL记录
# 慢SQL记录
log-slow-sql
:
true
log-slow-sql
:
true
slow-sql-millis
:
1000
slow-sql-millis
:
1000
merge-sql
:
true
merge-sql
:
true
wall
:
wall
:
config
:
config
:
multi-statement-allow
:
true
multi-statement-allow
:
true
\ No newline at end of file
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/application-prod.yml
0 → 100644
View file @
ddb84f0a
# begin-dev-这里是配置信息基本值
liquidnet
:
cloudConfig
:
profile
:
prod
security
:
username
:
user
password
:
user123
eureka
:
host
:
127.0.0.1:7001
# end-dev-这里是配置信息基本值
spring
:
profiles
:
include
:
client-admin-web
\ No newline at end of file
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/application-test.yml
0 → 100644
View file @
ddb84f0a
# begin-dev-这里是配置信息基本值
liquidnet
:
cloudConfig
:
profile
:
test
security
:
username
:
user
password
:
user123
eureka
:
host
:
172.18.0.2:7001
# end-dev-这里是配置信息基本值
spring
:
profiles
:
include
:
client-admin-web
\ No newline at end of file
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/application.yml
View file @
ddb84f0a
# 项目相关配置
spring
:
ruoyi
:
profiles
:
# 名称
active
:
dev
name
:
RuoYi
# 版本
version
:
4.6.1
# 版权年份
copyrightYear
:
2021
# 实例演示开关
demoEnabled
:
true
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
profile
:
/users/anjiabin/ruoyi/uploadPath
# 获取ip地址开关
addressEnabled
:
false
# 开发环境配置
server
:
# 服务器的HTTP端口,默认为80
port
:
80
servlet
:
# 应用的访问路径
context-path
:
/
tomcat
:
# tomcat的URI编码
uri-encoding
:
UTF-8
# tomcat最大线程数,默认为200
max-threads
:
800
# Tomcat启动初始化的线程数,默认值25
min-spare-threads
:
30
# 日志配置
logging
:
level
:
com.liquidnet.client.admin
:
debug
org.springframework
:
warn
# 用户配置
user
:
password
:
# 密码错误{maxRetryCount}次锁定10分钟
maxRetryCount
:
5
# Spring配置
spring
:
# 模板引擎
thymeleaf
:
mode
:
HTML
encoding
:
utf-8
# 禁用缓存
cache
:
false
# 资源信息
messages
:
# 国际化资源文件路径
basename
:
static/i18n/messages
jackson
:
time-zone
:
GMT+8
date-format
:
yyyy-MM-dd HH:mm:ss
profiles
:
active
:
druid
# 文件上传
servlet
:
multipart
:
# 单个文件大小
max-file-size
:
10MB
# 设置总上传的文件大小
max-request-size
:
20MB
# 服务模块
devtools
:
restart
:
# 热部署开关
enabled
:
true
# MyBatis
mybatis
:
# 搜索指定包别名
typeAliasesPackage
:
com.liquidnet.client.admin.**.domain
# 配置mapper的扫描,找到所有的mapper.xml映射文件
mapperLocations
:
classpath*:mapper/**/*Mapper.xml
# 加载全局的配置文件
configLocation
:
classpath:mybatis/mybatis-config.xml
# PageHelper分页插件
pagehelper
:
helperDialect
:
mysql
reasonable
:
true
supportMethodsArguments
:
true
params
:
count=countSql
# Shiro
shiro
:
user
:
# 登录地址
loginUrl
:
/login
# 权限认证失败地址
unauthorizedUrl
:
/unauth
# 首页地址
indexUrl
:
/index
# 验证码开关
captchaEnabled
:
true
# 验证码类型 math 数组计算 char 字符
captchaType
:
math
cookie
:
# 设置Cookie的域名 默认空,即当前访问的域名
domain
:
# 设置cookie的有效访问路径
path
:
/
# 设置HttpOnly属性
httpOnly
:
true
# 设置Cookie的过期时间,天为单位
maxAge
:
30
session
:
# Session超时时间,-1代表永不过期(默认30分钟)
expireTime
:
30
# 同步session到数据库的周期(默认1分钟)
dbSyncPeriod
:
1
# 相隔多久检查一次session的有效性,默认就是10分钟
validationInterval
:
10
# 同一个用户最大会话数,比如2的意思是同一个账号允许最多同时两个人登录(默认-1不限制)
maxSession
:
-1
# 踢出之前登录的/之后登录的用户,默认踢出之前登录的用户
kickoutAfter
:
false
# 防止XSS攻击
xss
:
# 过滤开关
enabled
:
true
# 排除链接(多个用逗号分隔)
excludes
:
/system/notice/*
# 匹配链接
urlPatterns
:
/system/*,/monitor/*,/tool/*
# Swagger配置
swagger
:
# 是否开启swagger
enabled
:
true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment