|
@@ -8,6 +8,16 @@ alarm:
|
|
ip: 192.168.17.55
|
|
ip: 192.168.17.55
|
|
port: 8081
|
|
port: 8081
|
|
# ip: localhost
|
|
# ip: localhost
|
|
|
|
+rabbitmq.host: 192.168.100.93
|
|
|
|
+rabbitmq.port: 9936
|
|
|
|
+rabbitmq.username: pbsage
|
|
|
|
+rabbitmq.password: pbsage123
|
|
|
|
+redis.host: 192.168.100.93
|
|
|
|
+redis.port: 9944
|
|
|
|
+redis.database: 14
|
|
|
|
+redis.password.sentinel: test123
|
|
|
|
+redis.password.standalone: test123
|
|
|
|
+redis.sentinel.nodes: 39.102.43.179:9940
|
|
|
|
|
|
server:
|
|
server:
|
|
port: 8101
|
|
port: 8101
|
|
@@ -48,24 +58,24 @@ spring:
|
|
hibernate:
|
|
hibernate:
|
|
ddl-auto: none
|
|
ddl-auto: none
|
|
redis:
|
|
redis:
|
|
- host: 192.168.100.93
|
|
|
|
- port: 9944
|
|
|
|
- database: 14
|
|
|
|
|
|
+ host: ${redis.host}
|
|
|
|
+ port: ${redis.port}
|
|
|
|
+ database: ${redis.database}
|
|
pool:
|
|
pool:
|
|
max-active: 300
|
|
max-active: 300
|
|
max-wait: 3000
|
|
max-wait: 3000
|
|
min-idle: 100
|
|
min-idle: 100
|
|
max-idle: 300
|
|
max-idle: 300
|
|
- password.sentinel: test123
|
|
|
|
- password.standalone: test123
|
|
|
|
|
|
+ password.sentinel: ${redis.password.sentinel}
|
|
|
|
+ password.standalone: ${redis.password.standalone}
|
|
sentinel.master: mymaster
|
|
sentinel.master: mymaster
|
|
- sentinel.nodes: 39.102.43.179:9940
|
|
|
|
|
|
+ sentinel.nodes: ${redis.sentinel.nodes}
|
|
use.cluster: false
|
|
use.cluster: false
|
|
rabbitmq:
|
|
rabbitmq:
|
|
- host: 192.168.100.93
|
|
|
|
- port: 9936
|
|
|
|
- username: pbsage
|
|
|
|
- password: pbsage123
|
|
|
|
|
|
+ host: ${rabbitmq.host}
|
|
|
|
+ port: ${rabbitmq.port}
|
|
|
|
+ username: ${rabbitmq.username}
|
|
|
|
+ password: ${rabbitmq.password}
|
|
virtual-host: /test
|
|
virtual-host: /test
|
|
connection-timeout: 2000ms
|
|
connection-timeout: 2000ms
|
|
listener:
|
|
listener:
|