初始化
parent
27f93d5fdf
commit
443855d6a5
|
@ -0,0 +1,14 @@
|
|||
# |- home
|
||||
# |- app.jar
|
||||
# |- logs
|
||||
FROM openjdk:17-jdk
|
||||
|
||||
WORKDIR /home
|
||||
|
||||
VOLUME ["/home/logs/cloud-gen"]
|
||||
|
||||
COPY ./target/cloud-gen.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-gen</artifactId>
|
||||
<artifactId>cloud-gen</artifactId>
|
||||
<version>1.0.0</version>
|
||||
|
||||
<description>
|
||||
cloud-modules-gen代码生成
|
||||
cloud-gen代码生成
|
||||
</description>
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Tomcat
|
||||
server:
|
||||
port: 9202
|
||||
port: 10003
|
||||
|
||||
# nacos线上地址
|
||||
nacos:
|
||||
|
@ -30,6 +30,7 @@ spring:
|
|||
password: ${nacos.password}
|
||||
# 命名空间
|
||||
namespace: ${nacos.namespace}
|
||||
ip: 47.116.173.119
|
||||
config:
|
||||
# 服务注册地址
|
||||
server-addr: ${nacos.addr}
|
||||
|
|
Loading…
Reference in New Issue