diff --git a/demo-parent.iml b/demo-parent.iml index 3c81f99e5ffadced51f4632fbc8bc8f8c98d1c47..3cd41f3b1b236b6635a5262fdf1eb78f1dd9300f 100644 --- a/demo-parent.iml +++ b/demo-parent.iml @@ -1,5 +1,10 @@ + + + @@ -13,38 +18,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/mongo/pom.xml b/mongo/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..80fe20bf65dbef525b194f26ff146aba9a9fbdc2 --- /dev/null +++ b/mongo/pom.xml @@ -0,0 +1,21 @@ + + + + demo-parent + com.duanledexianxianxian.demo + 1.0-SNAPSHOT + + 4.0.0 + + mongo + + + + org.springframework.boot + spring-boot-starter-data-mongodb + + + + \ No newline at end of file diff --git a/mongo/src/main/resources/application.yml b/mongo/src/main/resources/application.yml new file mode 100644 index 0000000000000000000000000000000000000000..f93c7fa6535079e47dff40641273237a56363e47 --- /dev/null +++ b/mongo/src/main/resources/application.yml @@ -0,0 +1,8 @@ +spring: + application: + name: "spring-boot-mongo" + data: + mongodb: + uri: mongodb://113.105.144.9:9020 + username: root + password: 147258369 \ No newline at end of file diff --git a/pom.xml b/pom.xml index 06796d7116d8c9d57272c420f0e7fccf4a667933..2e3f0ee1e23f647ccdab9456bb0fceba0588b9f4 100644 --- a/pom.xml +++ b/pom.xml @@ -11,6 +11,7 @@ kafka menu + mongo