From 20c42a1bdbd9d27e6e5b683a3ce1f89c3a233429 Mon Sep 17 00:00:00 2001 From: zhang chengzhi <3144712872@qq.com> Date: Mon, 19 Aug 2024 22:39:54 +0800 Subject: [PATCH 1/4] 111 --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 31db58f..3ef4b43 100644 --- a/pom.xml +++ b/pom.xml @@ -4,8 +4,8 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> com.muyu - cloud-modules - 3.6.3 + cloud-server-parent + 3.6.4 4.0.0 From e5654e810e5d5411655ea96da3e61f756b50c9f4 Mon Sep 17 00:00:00 2001 From: zhang chengzhi <3144712872@qq.com> Date: Wed, 21 Aug 2024 11:05:51 +0800 Subject: [PATCH 2/4] 111 --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..23a346c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +#指定构建镜像的起始镜像 +FROM anolis-registry.cn-zhangjiakou.cr.aliyuncs.com/openanolis/dragonwell:17.0.4.0.4.8-standard-ga-8.6 +#定义时区参数 +ENV TZ=Asia/Shanghai +#设置时区 +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone + +#挂载目录 +VOLUME ["/home/logs/cloud-gen","/home/uploadPath"] + +#拷贝执行jar报 +COPY ./target/cloud-modules-gen.jar /home/app.jar + +ENTRYPOINT ["java","-jar"] +CMD ["/home/app.jar"] From 99beaeded69e6fddb0cb154d18090e913e9d3e58 Mon Sep 17 00:00:00 2001 From: zhang chengzhi <3144712872@qq.com> Date: Wed, 21 Aug 2024 11:54:16 +0800 Subject: [PATCH 3/4] 111 --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 3ef4b43..66c2044 100644 --- a/pom.xml +++ b/pom.xml @@ -10,14 +10,14 @@ 4.0.0 cloud-modules-gen - + 1.0.0 cloud-modules-gen代码生成 - + com.alibaba.cloud spring-cloud-starter-alibaba-nacos-discovery From 45838a3cb50364a564288f12269eae82ea811bba Mon Sep 17 00:00:00 2001 From: zhang chengzhi <3144712872@qq.com> Date: Wed, 21 Aug 2024 14:09:09 +0800 Subject: [PATCH 4/4] 111 --- src/main/resources/bootstrap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/bootstrap.yml b/src/main/resources/bootstrap.yml index 754a321..2eed263 100644 --- a/src/main/resources/bootstrap.yml +++ b/src/main/resources/bootstrap.yml @@ -4,7 +4,7 @@ server: # nacos线上地址 nacos: - addr: 47.116.176.140:8848 + addr: 12.2.0.252:8848 user-name: nacos password: nacos namespace: muyu-cloud