feat: optimize mongodb config

This commit is contained in:
tjq 2022-10-23 11:40:48 +08:00
parent 757b994176
commit a9936b8dba
3 changed files with 5 additions and 5 deletions

View File

@ -10,9 +10,9 @@ spring.datasource.core.maximum-pool-size=20
spring.datasource.core.minimum-idle=5 spring.datasource.core.minimum-idle=5
####### MongoDB properties(Non-core configuration properties) ####### ####### MongoDB properties(Non-core configuration properties) #######
####### configure oms.mongodb.enable=false to disable mongodb ####### ####### delete mongodb config to disable mongodb #######
oms.mongodb.enable=true #oms.mongodb.enable=true
spring.data.mongodb.uri=mongodb+srv://zqq:No1Bug2Please3!@cluster0.wie54.gcp.mongodb.net/powerjob_daily?retryWrites=true&w=majority #spring.data.mongodb.uri=mongodb+srv://zqq:No1Bug2Please3!@cluster0.wie54.gcp.mongodb.net/powerjob_daily?retryWrites=true&w=majority
####### Email properties(Non-core configuration properties) ####### ####### Email properties(Non-core configuration properties) #######
####### Delete the following code to disable the mail ####### ####### Delete the following code to disable the mail #######

View File

@ -10,7 +10,7 @@ spring.datasource.core.maximum-pool-size=20
spring.datasource.core.minimum-idle=5 spring.datasource.core.minimum-idle=5
####### MongoDB properties(Non-core configuration properties) ####### ####### MongoDB properties(Non-core configuration properties) #######
####### configure oms.mongodb.enable=false to disable mongodb ####### ####### delete mongodb config to disable mongodb #######
oms.mongodb.enable=true oms.mongodb.enable=true
spring.data.mongodb.uri=mongodb://remotehost:27017/powerjob-pre spring.data.mongodb.uri=mongodb://remotehost:27017/powerjob-pre

View File

@ -10,7 +10,7 @@ spring.datasource.core.maximum-pool-size=20
spring.datasource.core.minimum-idle=5 spring.datasource.core.minimum-idle=5
####### MongoDB properties(Non-core configuration properties) ####### ####### MongoDB properties(Non-core configuration properties) #######
####### configure oms.mongodb.enable=false to disable mongodb ####### ####### delete mongodb config to disable mongodb #######
oms.mongodb.enable=true oms.mongodb.enable=true
spring.data.mongodb.uri=mongodb://localhost:27017/powerjob-product spring.data.mongodb.uri=mongodb://localhost:27017/powerjob-product