dev #10

Merged
bunny merged 3 commits from dev into master 2024-08-22 10:11:57 +08:00
5 changed files with 24 additions and 5 deletions
Showing only changes of commit 1997694492 - Show all commits

View File

@ -1,4 +1,4 @@
FROM openjdk:17
FROM openjdk:21
MAINTAINER bunny
#系统编码
@ -17,5 +17,8 @@ COPY target/*.jar /home/bunny/app.jar
#启动容器时的进程
ENTRYPOINT ["java","-jar","/home/bunny/app.jar"]
#暴露 8080 端口
EXPOSE 8500
#暴露 8800 端口
EXPOSE 8080
# maven 打包
# mvn clean package -Pprod -DskipTests

View File

@ -18,4 +18,7 @@ COPY target/*.jar /home/bunny/app.jar
ENTRYPOINT ["java","-jar","/home/bunny/app.jar"]
#暴露 8800 端口
EXPOSE 8800
EXPOSE 8080
# maven 打包
# mvn clean package -Pprod -DskipTests

View File

@ -1,3 +1,8 @@
# 线上禁用文档
knife4j:
enable: true
production: true
bunny:
datasource:
host: 192.168.3.100

View File

@ -18,4 +18,7 @@ COPY target/*.jar /home/bunny/app.jar
ENTRYPOINT ["java","-jar","/home/bunny/app.jar"]
#暴露 8800 端口
EXPOSE 8800
EXPOSE 8080
# maven 打包
# mvn clean package -Pprod -DskipTests

View File

@ -1,3 +1,8 @@
# 线上禁用文档
knife4j:
enable: true
production: true
bunny:
datasource:
host: 192.168.3.100