Commit 39e58aad authored by 王飞's avatar 王飞

1、屏蔽配置文件敏感信息

parent 3aecfc37
...@@ -6,9 +6,9 @@ spring: ...@@ -6,9 +6,9 @@ spring:
druid: druid:
# 主库数据源 # 主库数据源
master: master:
url: jdbc:mysql://10.12.48.76:22030/vehicle-quality-review?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: ${MYSQL_URL}
username: root username: ${MYSQL_USERNAME}
password: 1qaz@WSX password: ${MYSQL_PASSWORD}
# 从库数据源 # 从库数据源
slave: slave:
# 从数据源开关/默认关闭 # 从数据源开关/默认关闭
...@@ -47,8 +47,8 @@ spring: ...@@ -47,8 +47,8 @@ spring:
allow: allow:
url-pattern: /druid/* url-pattern: /druid/*
# 控制台管理用户名和密码 # 控制台管理用户名和密码
login-username: ruoyi login-username: ${CONSOLE_LOGIN_USERNAME}
login-password: 1qaz@WSX login-password: ${CONSOLE_LOGIN_PASSWORD}
filter: filter:
stat: stat:
enabled: true enabled: true
......
...@@ -9,7 +9,7 @@ ruoyi: ...@@ -9,7 +9,7 @@ ruoyi:
# 实例演示开关 # 实例演示开关
demoEnabled: true demoEnabled: true
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
profile: /data/docker_volume/2024/secureTest/application/upload profile: /data//upload
# 获取ip地址开关 # 获取ip地址开关
addressEnabled: false addressEnabled: false
# 验证码类型 math 数字计算 char 字符验证 # 验证码类型 math 数字计算 char 字符验证
...@@ -68,13 +68,13 @@ spring: ...@@ -68,13 +68,13 @@ spring:
# redis 配置 # redis 配置
redis: redis:
# 地址 # 地址
host: 10.12.48.77 host: ${REDIS_IP}
# 端口,默认为6379 # 端口,默认为6379
port: 22031 port: ${REDIS_PORT}
# 数据库索引 # 数据库索引
database: 0 database: 0
# 密码 # 密码
password: 1qaz@WSX password: ${REDIS_PWD}
# 连接超时时间 # 连接超时时间
timeout: 10s timeout: 10s
lettuce: lettuce:
...@@ -93,7 +93,7 @@ token: ...@@ -93,7 +93,7 @@ token:
# 令牌自定义标识 # 令牌自定义标识
header: Authorization header: Authorization
# 令牌密钥 # 令牌密钥
secret: abcdefghijklmnopqrstuvwxyz secret: ${TOKEN_SECRET}
# 令牌有效期(默认30分钟) # 令牌有效期(默认30分钟)
expireTime: 30 expireTime: 30
...@@ -144,7 +144,7 @@ xss: ...@@ -144,7 +144,7 @@ xss:
urlPatterns: /system/*,/monitor/*,/tool/* urlPatterns: /system/*,/monitor/*,/tool/*
minio: minio:
url: http://10.12.48.79:22038 url: ${MINIO_URL}
accessKey: lB7WhZYiQwLzhHPutRGn accessKey: ${MINIO_ACCESSKEY}
secretKey: 7XMWpLm6p4d20OFe9uXKifEyhF3cp4sTCowI2fhJ secretKey: ${MINIO_SECRETKEY}
bucketName: vehicle-quality-review-oss bucketName: vehicle-quality-review-oss
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment