修复漏洞问题
This commit is contained in:
parent
acee61bb66
commit
d2662100f2
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,3 @@ spring:
|
||||||
#system:
|
#system:
|
||||||
# encryptEnabled: false
|
# encryptEnabled: false
|
||||||
# decryptEnabled: false
|
# decryptEnabled: false
|
||||||
#加密组件
|
|
||||||
jasypt:
|
|
||||||
encryptor:
|
|
||||||
password: Encrypt
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
|
||||||
Loading…
Reference in New Issue