فهرست منبع

mongoDB配置

zhaoxian 11 ماه پیش
والد
کامیت
cfa8a0c8cb

+ 10 - 0
jeecg-boot-module-system/src/main/resources/application-jiaoyang.yml

@@ -129,6 +129,16 @@ spring:
       shutdown-timeout: 100ms
     password: hcst@2021..
     port: 6379
+  # mongodb 配置
+  data:
+    mongodb:
+      host: 172.30.0.5
+      port: 27017
+      #root:只在admin数据库中可用。超级账号,超级权限
+      username: root
+      password: hcst2024..
+      database: admin
+      authentication-database: admin
 #mybatis plus 设置
 mybatis-plus:
   mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:cn/com/ctop/**/xml/*Mapper.xml

+ 10 - 0
jeecg-boot-module-system/src/main/resources/application-preprod.yml

@@ -129,6 +129,16 @@ spring:
       shutdown-timeout: 100ms
     password: hcst@2021..
     port: 6379
+  # mongodb 配置
+  data:
+    mongodb:
+      host: 172.30.0.5
+      port: 27017
+      #root:只在admin数据库中可用。超级账号,超级权限
+      username: root
+      password: hcst2024..
+      database: admin
+      authentication-database: admin
 #mybatis plus 设置
 mybatis-plus:
   mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:cn/com/ctop/**/xml/*Mapper.xml

+ 10 - 0
jeecg-boot-module-system/src/main/resources/application-prod.yml

@@ -129,6 +129,16 @@ spring:
       shutdown-timeout: 100ms
     password: hcst@2021..
     port: 6379
+  # mongodb 配置
+  data:
+    mongodb:
+      host: 172.30.0.5
+      port: 27017
+      #root:只在admin数据库中可用。超级账号,超级权限
+      username: root
+      password: hcst2024..
+      database: admin
+      authentication-database: admin
 #mybatis plus 设置
 mybatis-plus:
   mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:cn/com/ctop/**/xml/*Mapper.xml

+ 10 - 0
jeecg-boot-module-system/src/main/resources/application-prod2.yml

@@ -121,6 +121,16 @@ spring:
       shutdown-timeout: 100ms
     password: hcst@2021..
     port: 6379
+  # mongodb 配置
+  data:
+    mongodb:
+      host: 172.30.0.5
+      port: 27017
+      #root:只在admin数据库中可用。超级账号,超级权限
+      username: root
+      password: hcst2024..
+      database: admin
+      authentication-database: admin
 #mybatis plus 设置
 mybatis-plus:
   mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:cn/com/ctop/**/xml/*Mapper.xml

+ 10 - 0
jeecg-boot-module-system/src/main/resources/application-test.yml

@@ -120,6 +120,16 @@ spring:
       shutdown-timeout: 100ms
     password: #hcst@2020
     port: 6379
+  # mongodb 配置
+  data:
+    mongodb:
+      host: 172.30.0.5
+      port: 27017
+      #root:只在admin数据库中可用。超级账号,超级权限
+      username: root
+      password: hcst2024..
+      database: admin
+      authentication-database: admin
 #mybatis plus 设置
 mybatis-plus:
   mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:cn/com/ctop/**/xml/*Mapper.xml

+ 10 - 0
jeecg-boot-module-system/src/main/resources/application-wps.yml

@@ -123,6 +123,16 @@ spring:
       shutdown-timeout: 100ms
     password:
     port: 6379
+  # mongodb 配置
+  data:
+    mongodb:
+      host: 172.30.0.5
+      port: 27017
+      #root:只在admin数据库中可用。超级账号,超级权限
+      username: root
+      password: hcst2024..
+      database: admin
+      authentication-database: admin
 #mybatis plus 设置
 mybatis-plus:
   mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml,classpath*:cn/com/ctop/**/xml/*Mapper.xml