feat(新增): 更新打包配置
This commit is contained in:
parent
3a8c0af6e3
commit
4fc3fc6dd0
|
@ -17,5 +17,7 @@ COPY target/*.jar /home/bunny/app.jar
|
|||
#启动容器时的进程
|
||||
ENTRYPOINT ["java","-jar","/home/bunny/app.jar"]
|
||||
|
||||
#暴露 8800 端口
|
||||
EXPOSE 8800
|
||||
#暴露 7070 端口
|
||||
EXPOSE 7070
|
||||
|
||||
# mvn clean package -Pprod -DskipTests0
|
|
@ -1,3 +1,8 @@
|
|||
# 线上禁用文档
|
||||
knife4j:
|
||||
enable: true
|
||||
production: true
|
||||
|
||||
bunny:
|
||||
datasource:
|
||||
host: 192.168.3.98
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
server:
|
||||
port: 8800
|
||||
port: 7070
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
|
|
Loading…
Reference in New Issue