Skip to content

Commit

Permalink
新增:引导卷分页列表模糊查询、终止等功能;使用缓存优化响应速度
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohann0617 committed Jan 3, 2025
1 parent e8913e6 commit da259a6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY . .

# 执行Maven构建并将构建的jar文件复制到指定目录
RUN mvn clean package -DskipTests \
&& cp target/oci-helper-1.0.1.jar /app/oci-helper.jar
&& cp target/oci-helper-1.0.2.jar /app/oci-helper.jar

# 支持AMD、ARM两种架构的镜像
FROM openjdk:8-jre
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ mkdir -p /app/oci-helper/keys && cd /app/oci-helper
### 2. 下载文件

1. 下载`Releases`中最新的`application.yml``oci-helper.db`这两个文件到`/app/oci-helper`目录下,并修改`application.yml`部分配置。
2. 如不使用 docker 部署则再下载一个`ocihelper-1.0.1.jar`文件到`/app/oci-helper`目录下,直接`nohup java -jar ocihelper-1.0.1.jar > /var/log/oci-helper.log &`运行即可(前提是环境上要有`jre8``jdk8`以上的环境)。
2. 如不使用 docker 部署则再下载一个`ocihelper-1.0.2.jar`文件到`/app/oci-helper`目录下,直接`nohup java -jar ocihelper-1.0.2.jar > /var/log/oci-helper.log &`运行即可(前提是环境上要有`jre8``jdk8`以上的环境)。
3. 后续如果更新jar包或者docker镜像,需要安装sqlite并运行`sh_oci-helper_install.sh`中更新版本号的命令(自行解决)。

### 3. docker部署
Expand Down
2 changes: 1 addition & 1 deletion README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ mkdir -p /app/oci-helper/keys && cd /app/oci-helper
### 2. Download files

1. Download the latest `application.yml` and `oci-helper.db` files in `Releases` to the `/app/oci-helper` directory, and modify some configurations of `application.yml`.
2. If you do not use docker deployment, download another `ocihelper-1.0.1.jar` file to the `/app/oci-helper` directory, and run it directly `nohup java -jar ocihelper-1.0.1.jar > /var/log/oci-helper.log &` (the prerequisite is that the environment must have `jre8` or `jdk8` or above).
2. If you do not use docker deployment, download another `ocihelper-1.0.2.jar` file to the `/app/oci-helper` directory, and run it directly `nohup java -jar ocihelper-1.0.2.jar > /var/log/oci-helper.log &` (the prerequisite is that the environment must have `jre8` or `jdk8` or above).
3. If you update the jar package or docker image later, you need to install sqlite and run the command to update the version number in `sh_oci-helper_install.sh` (solve it yourself).

### 3. Docker deployment
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.yohann</groupId>
<artifactId>oci-helper</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<name>oci-helper</name>
<description>oci helper</description>
<properties>
Expand Down

0 comments on commit da259a6

Please sign in to comment.