commit 96af77dc1dcb951380ff5aec50afcd9c8c03f1ff Author: ZhangXushuo <3508242435.com> Date: Thu Nov 2 08:36:17 2023 +0800 病友圈初始化化 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ff6309 --- /dev/null +++ b/.gitignore @@ -0,0 +1,38 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..edf1f63 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..82dbec8 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9f1c0f9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +# 起始镜像点 +FROM anolis-registry.cn-zhangjiakou.cr.aliyuncs.com/openanolis/openjdk:17-8.6 +# 暴露的端口位置 +EXPOSE 9202/tcp + +# 挂载的目录位置 +VOLUME /home/logs/february-system + +# 构建复制外部文件到dcoker内部 +COPY /february-patient-server/target/february-patient-server.jar /home/app.jar + +# 工作目录 exec -it 进来就是默认这个目录 +WORKDIR /home + +# 指定东八区 +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + +# 启动java程序 +CMD ["java","-Dfile.encoding=UTF-8", "-jar", "/home/app.jar"] diff --git a/february-patient-common/.gitignore b/february-patient-common/.gitignore new file mode 100644 index 0000000..5ff6309 --- /dev/null +++ b/february-patient-common/.gitignore @@ -0,0 +1,38 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/february-patient-common/pom.xml b/february-patient-common/pom.xml new file mode 100644 index 0000000..8ac173f --- /dev/null +++ b/february-patient-common/pom.xml @@ -0,0 +1,67 @@ + + + + com.february + february-patient-circle + 3.6.3 + + + 3.6.3 + february-patient-common + + + 20 + 20 + UTF-8 + + 4.0.0 + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-config + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-sentinel + + + + + org.springframework.boot + spring-boot-starter-actuator + + + + + io.springfox + springfox-swagger-ui + ${swagger.fox.version} + + + + + com.mysql + mysql-connector-j + + + + + com.february + february-common-swagger + 3.6.3 + + + + diff --git a/february-patient-remote/.gitignore b/february-patient-remote/.gitignore new file mode 100644 index 0000000..5ff6309 --- /dev/null +++ b/february-patient-remote/.gitignore @@ -0,0 +1,38 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/february-patient-remote/pom.xml b/february-patient-remote/pom.xml new file mode 100644 index 0000000..af38a9f --- /dev/null +++ b/february-patient-remote/pom.xml @@ -0,0 +1,26 @@ + + + 4.0.0 + + com.february + february-patient-circle + 3.6.3 + + 3.6.3 + february-patient-remote + + + 20 + 20 + UTF-8 + + + + com.february + february-patient-common + 3.6.3 + + + diff --git a/february-patient-server/.gitignore b/february-patient-server/.gitignore new file mode 100644 index 0000000..5ff6309 --- /dev/null +++ b/february-patient-server/.gitignore @@ -0,0 +1,38 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/february-patient-server/pom.xml b/february-patient-server/pom.xml new file mode 100644 index 0000000..8c6ce9c --- /dev/null +++ b/february-patient-server/pom.xml @@ -0,0 +1,70 @@ + + + 4.0.0 + + com.february + february-patient-circle + 3.6.3 + + com.february + 3.6.3 + february-patient-server + + + 20 + 20 + UTF-8 + + + + + com.february + february-patient-remote + 3.6.3 + compile + + + com.february + february-patient-remote + 3.6.3 + compile + + + + com.february + february-common-log + 3.6.3 + + + + com.february + february-common-datascope + 3.6.3 + + + + com.february + february-common-datasource + 3.6.3 + + + + + ${project.artifactId} + + + org.springframework.boot + spring-boot-maven-plugin + + + + repackage + + + + + + + diff --git a/february-patient-server/src/main/java/com/february/com/february/Main.java b/february-patient-server/src/main/java/com/february/com/february/Main.java new file mode 100644 index 0000000..c7d18f1 --- /dev/null +++ b/february-patient-server/src/main/java/com/february/com/february/Main.java @@ -0,0 +1,11 @@ +package com.february.com.february; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class Main { + public static void main(String[] args) { + SpringApplication.run(Main.class); + } +} diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..0084299 --- /dev/null +++ b/pom.xml @@ -0,0 +1,38 @@ + + + + + com.february + february-modules + 3.6.3 + + + + 4.0.0 + 3.6.3 + + + february-patient-common + february-patient-remote + february-patient-server + + + february-patient-circle + pom + + + february-patient-circle健康模块 + + + + + + + maven-releases + maven-releases + http://10.100.1.6:8081/repository/maven-releases/ + + +