修复漏洞问题

This commit is contained in:
weiweiw 2024-08-08 14:09:32 +08:00
parent acee61bb66
commit d2662100f2
8 changed files with 33 additions and 25 deletions

View File

@ -26,8 +26,8 @@ spring:
shared-configs: shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
#加密组件 ##加密组件
jasypt: #jasypt:
encryptor: # encryptor:
password: Encrypt # password: Encrypt

View File

@ -48,7 +48,3 @@ spring:
#system: #system:
# encryptEnabled: false # encryptEnabled: false
# decryptEnabled: false # decryptEnabled: false
#加密组件
jasypt:
encryptor:
password: Encrypt

View File

@ -1,3 +1,9 @@
# 创建 bonus 用户,此段代码未测试
RUN group add -g 1002 bonus && \
useradd -u 1002 -g 1002 -m -s /usr/sbin/nologin bonus
# 切换到 bonus 用户
USER bonus
# end 创建用户
# 基础镜像 # 基础镜像
FROM mysql:5.7 FROM mysql:5.7
# author # author

View File

@ -1,5 +1,11 @@
# 创建 bonus 用户,此段代码未测试
RUN group add -g 1002 bonus && \
useradd -u 1002 -g 1002 -m -s /usr/sbin/nologin bonus
# 切换到 bonus 用户
USER bonus
# end 创建用户
# 基础镜像 # 基础镜像
FROM nacos/nacos-server FROM nacos/nacos-server:2.2.3
# author # author
MAINTAINER bonus MAINTAINER bonus

View File

@ -1,5 +1,12 @@
# 创建 bonus 用户,此段代码未测试
RUN group add -g 1002 bonus && \
useradd -u 1002 -g 1002 -m -s /usr/sbin/nologin bonus
# 切换到 bonus 用户
USER bonus
# end 创建用户
# 基础镜像 # 基础镜像
FROM nginx FROM nginx:1.17.1
# author # author
MAINTAINER bonus MAINTAINER bonus

View File

@ -1,5 +1,12 @@
# 创建 bonus 用户,此段代码未测试
RUN group add -g 1002 bonus && \
useradd -u 1002 -g 1002 -m -s /usr/sbin/nologin bonus
# 切换到 bonus 用户
USER bonus
# end 创建用户
# 基础镜像 # 基础镜像
FROM redis FROM redis:3.2.12
# author # author
MAINTAINER ruoyi MAINTAINER ruoyi

View File

@ -26,8 +26,3 @@ spring:
shared-configs: shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
#加密组件
jasypt:
encryptor:
password: Encrypt

View File

@ -43,12 +43,3 @@ spring:
data-type: json data-type: json
rule-type: gw-flow rule-type: gw-flow
#系统 自动 加解密开关
system:
encryptEnabled: false
decryptEnabled: true
#加密组件
jasypt:
encryptor:
password: Encrypt