初始化
parent
80eb81ad1d
commit
8920f22243
|
@ -0,0 +1,12 @@
|
|||
# |- home
|
||||
# |- app.jar
|
||||
# |- logs
|
||||
FROM openjdk:17-jdk
|
||||
|
||||
WORKDIR /home
|
||||
|
||||
VOLUME ["/home/logs/cloud-file"]
|
||||
|
||||
COPY ./target/cloud-file.jar /home/app.jar
|
||||
|
||||
ENTRYPOINT ["java","-jar","/home/app.jar"]
|
5
pom.xml
5
pom.xml
|
@ -9,10 +9,11 @@
|
|||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>cloud-modules-file</artifactId>
|
||||
<artifactId>cloud-file</artifactId>
|
||||
<version>1.0.0</version>
|
||||
|
||||
<description>
|
||||
cloud-modules-file文件服务
|
||||
cloud-file文件服务
|
||||
</description>
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Tomcat
|
||||
server:
|
||||
port: 9300
|
||||
port: 10002
|
||||
|
||||
# nacos线上地址
|
||||
nacos:
|
||||
|
@ -28,6 +28,7 @@ spring:
|
|||
password: ${nacos.password}
|
||||
# 命名空间
|
||||
namespace: ${nacos.namespace}
|
||||
ip: 47.116.173.119
|
||||
config:
|
||||
# 服务注册地址
|
||||
server-addr: ${nacos.addr}
|
||||
|
|
Loading…
Reference in New Issue