mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
feat: optimize mongodb config
This commit is contained in:
parent
757b994176
commit
a9936b8dba
@ -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 #######
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user