Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vehicle-quality-review
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
王飞
vehicle-quality-review
Commits
39e58aad
Commit
39e58aad
authored
Feb 22, 2024
by
王飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、屏蔽配置文件敏感信息
parent
3aecfc37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
application-prod-druid.yml
ruoyi-admin/src/main/resources/application-prod-druid.yml
+5
-5
application-prod.yml
ruoyi-admin/src/main/resources/application-prod.yml
+8
-8
No files found.
ruoyi-admin/src/main/resources/application-prod-druid.yml
View file @
39e58aad
...
...
@@ -6,9 +6,9 @@ spring:
druid
:
# 主库数据源
master
:
url
:
jdbc:mysql://10.12.48.76:22030/vehicle-quality-review?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
root
password
:
1qaz@WSX
url
:
${MYSQL_URL}
username
:
${MYSQL_USERNAME}
password
:
${MYSQL_PASSWORD}
# 从库数据源
slave
:
# 从数据源开关/默认关闭
...
...
@@ -47,8 +47,8 @@ spring:
allow
:
url-pattern
:
/druid/*
# 控制台管理用户名和密码
login-username
:
ruoyi
login-password
:
1qaz@WSX
login-username
:
${CONSOLE_LOGIN_USERNAME}
login-password
:
${CONSOLE_LOGIN_PASSWORD}
filter
:
stat
:
enabled
:
true
...
...
ruoyi-admin/src/main/resources/application-prod.yml
View file @
39e58aad
...
...
@@ -9,7 +9,7 @@ ruoyi:
# 实例演示开关
demoEnabled
:
true
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
profile
:
/data/
docker_volume/2024/secureTest/application
/upload
profile
:
/data//upload
# 获取ip地址开关
addressEnabled
:
false
# 验证码类型 math 数字计算 char 字符验证
...
...
@@ -68,13 +68,13 @@ spring:
# redis 配置
redis
:
# 地址
host
:
10.12.48.77
host
:
${REDIS_IP}
# 端口,默认为6379
port
:
22031
port
:
${REDIS_PORT}
# 数据库索引
database
:
0
# 密码
password
:
1qaz@WSX
password
:
${REDIS_PWD}
# 连接超时时间
timeout
:
10s
lettuce
:
...
...
@@ -93,7 +93,7 @@ token:
# 令牌自定义标识
header
:
Authorization
# 令牌密钥
secret
:
abcdefghijklmnopqrstuvwxyz
secret
:
${TOKEN_SECRET}
# 令牌有效期(默认30分钟)
expireTime
:
30
...
...
@@ -144,7 +144,7 @@ xss:
urlPatterns
:
/system/*,/monitor/*,/tool/*
minio
:
url
:
http://10.12.48.79:22038
accessKey
:
lB7WhZYiQwLzhHPutRGn
secretKey
:
7XMWpLm6p4d20OFe9uXKifEyhF3cp4sTCowI2fhJ
url
:
${MINIO_URL}
accessKey
:
${MINIO_ACCESSKEY}
secretKey
:
${MINIO_SECRETKEY}
bucketName
:
vehicle-quality-review-oss
\ No newline at end of file
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