初始化
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>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<artifactId>cloud-modules-file</artifactId>
|
<artifactId>cloud-file</artifactId>
|
||||||
|
<version>1.0.0</version>
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
cloud-modules-file文件服务
|
cloud-file文件服务
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Tomcat
|
# Tomcat
|
||||||
server:
|
server:
|
||||||
port: 9300
|
port: 10002
|
||||||
|
|
||||||
# nacos线上地址
|
# nacos线上地址
|
||||||
nacos:
|
nacos:
|
||||||
|
@ -28,6 +28,7 @@ spring:
|
||||||
password: ${nacos.password}
|
password: ${nacos.password}
|
||||||
# 命名空间
|
# 命名空间
|
||||||
namespace: ${nacos.namespace}
|
namespace: ${nacos.namespace}
|
||||||
|
ip: 47.116.173.119
|
||||||
config:
|
config:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: ${nacos.addr}
|
server-addr: ${nacos.addr}
|
||||||
|
|
Loading…
Reference in New Issue