feat(新增): 更新打包配置

This commit is contained in:
bunny 2024-09-27 10:01:06 +08:00
parent 3a8c0af6e3
commit 4fc3fc6dd0
3 changed files with 10 additions and 3 deletions

View File

@ -17,5 +17,7 @@ COPY target/*.jar /home/bunny/app.jar
#启动容器时的进程 #启动容器时的进程
ENTRYPOINT ["java","-jar","/home/bunny/app.jar"] ENTRYPOINT ["java","-jar","/home/bunny/app.jar"]
#暴露 8800 端口 #暴露 7070 端口
EXPOSE 8800 EXPOSE 7070
# mvn clean package -Pprod -DskipTests0

View File

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

View File

@ -1,5 +1,5 @@
server: server:
port: 8800 port: 7070
spring: spring:
profiles: profiles:
active: dev active: dev