记得上下班打卡 | git大法好,push需谨慎

Commit 7dfbe583 authored by anjiabin's avatar anjiabin

redis多数据源

parent e8005d78
...@@ -66,11 +66,6 @@ liquidnet: ...@@ -66,11 +66,6 @@ liquidnet:
port: 27017 port: 27017
user: admin user: admin
pwd: S&y$6d*JwJ pwd: S&y$6d*JwJ
chime:
host: 39.106.122.201:27017
port: 27017
user: admin
pwd: S&y$6d*JwJ
service: service:
adam: adam:
url-pay: url-pay:
......
...@@ -66,11 +66,6 @@ liquidnet: ...@@ -66,11 +66,6 @@ liquidnet:
port: 27017 port: 27017
user: admin user: admin
pwd: S&y$6d*JwJ pwd: S&y$6d*JwJ
chime:
host: 172.17.205.50:27017
port: 27017
user: admin
pwd: S&y$6d*JwJ
service: service:
adam: adam:
url-pay: url-pay:
......
...@@ -17,4 +17,4 @@ liquidnet: ...@@ -17,4 +17,4 @@ liquidnet:
level: info level: info
mongodb: mongodb:
sslEnabled: false sslEnabled: false
database: test_ln_scene database: dev_ln_scene
...@@ -75,7 +75,7 @@ spring: ...@@ -75,7 +75,7 @@ spring:
- org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
data: data:
mongodb: mongodb:
uri: mongodb://${liquidnet.mongodb.chime.user}:${liquidnet.mongodb.chime.pwd}@${liquidnet.mongodb.chime.host}/?authSource=admin&maxPoolSize=2000&waitQueueMultiple=100 uri: mongodb://${liquidnet.mongodb.user}:${liquidnet.mongodb.pwd}@${liquidnet.mongodb.host}/?authSource=admin&maxPoolSize=2000&waitQueueMultiple=100
sslEnabled: ${liquidnet.mongodb.sslEnabled} sslEnabled: ${liquidnet.mongodb.sslEnabled}
database: ${liquidnet.mongodb.database} database: ${liquidnet.mongodb.database}
# ----------------------------------------------------------- # -----------------------------------------------------------
......
...@@ -20,6 +20,6 @@ liquidnet: ...@@ -20,6 +20,6 @@ liquidnet:
database-name: dev_ln_scene database-name: dev_ln_scene
mongodb: mongodb:
sslEnabled: false sslEnabled: false
database: test_ln_scene database: dev_ln_scene
#以下为spring各环境个性配置 #以下为spring各环境个性配置
\ No newline at end of file
...@@ -81,7 +81,7 @@ spring: ...@@ -81,7 +81,7 @@ spring:
connection-test-query: SELECT 1 connection-test-query: SELECT 1
data: data:
mongodb: mongodb:
uri: mongodb://${liquidnet.mongodb.chime.user}:${liquidnet.mongodb.chime.pwd}@${liquidnet.mongodb.chime.host}/?authSource=admin&maxPoolSize=2000&waitQueueMultiple=100 uri: mongodb://${liquidnet.mongodb.user}:${liquidnet.mongodb.pwd}@${liquidnet.mongodb.host}/?authSource=admin&maxPoolSize=2000&waitQueueMultiple=100
sslEnabled: ${liquidnet.mongodb.sslEnabled} sslEnabled: ${liquidnet.mongodb.sslEnabled}
database: ${liquidnet.mongodb.database} database: ${liquidnet.mongodb.database}
# ----------------------------------------------------------- # -----------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment