修改jwk,增强功能:读取密钥时依旧以旧行为(读取classpath)为主,增加警告;增加读取失败时自动创建随机密钥并持久化。

This commit is contained in:
氵帆
2025-11-11 16:51:11 +08:00
parent 6ae7bdc8e0
commit 3149d9c154
6 changed files with 130 additions and 57 deletions

View File

@@ -1,6 +1,6 @@
可以在当前目录下:
使用`docker compose up -d`直接运行。
使用`docker compose up -d -build -force-recreate`强制重新构建所有服务的镜像并删除旧容器重新运行
使用`docker compose up -d --build --force-recreate`强制重新构建所有服务的镜像并删除旧容器重新运行
`.env`用来配置环境变量,在这里配好之后,其它的配置会自动联动的。

View File

@@ -96,6 +96,7 @@ services:
- polaris-mysql
- polaris-media
volumes:
- ./wvp/config:/opt/wvp/config
- ./wvp/wvp/:/opt/ylcx/wvp/
- ./logs/wvp:/opt/wvp/logs/
environment:

View File

@@ -50,12 +50,13 @@ RUN java -version && javac -version
RUN apt-get update && \
apt-get install -y maven && \
rm -rf /var/lib/apt/lists/*
COPY . /build
WORKDIR /build
RUN ls && mvn clean package -Dmaven.test.skip=true
WORKDIR /build/target
<><C8B7><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>һ<EFBFBD><D2BB>
RUN mv wvp-pro-*.jar wvp.jar

View File

@@ -135,6 +135,7 @@ user-settings:
# - http://127.0.0.1:8080
# - http://0.0.0.0:8080
# - ${NGINX_HOST}
jwkFile: classpath:xxxxxxxxxxx.json
logging:
config: classpath:logback-spring.xml