You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1018 B
39 lines
1018 B
|
4 months ago
|
#spring配置
|
||
|
|
spring:
|
||
|
|
data:
|
||
|
|
redis:
|
||
|
|
##redis 单机环境配置
|
||
|
|
host: 127.0.0.1
|
||
|
|
port: 6379
|
||
|
|
password:
|
||
|
|
database: 0
|
||
|
|
ssl:
|
||
|
|
enabled: false
|
||
|
|
datasource:
|
||
|
|
driver-class-name: oracle.jdbc.OracleDriver
|
||
|
|
druid:
|
||
|
|
# Oracle、YashanDB校验
|
||
|
|
oracle: true
|
||
|
|
validation-query: select 1 from dual
|
||
|
|
|
||
|
|
#项目模块集中配置
|
||
|
|
blade:
|
||
|
|
#分布式锁配置
|
||
|
|
lock:
|
||
|
|
enabled: false
|
||
|
|
address: redis://127.0.0.1:6379
|
||
|
|
#多团队协作服务配置
|
||
|
|
loadbalancer:
|
||
|
|
#开启配置
|
||
|
|
enabled: true
|
||
|
|
#负载均衡优先调用的ip段
|
||
|
|
prior-ip-pattern:
|
||
|
|
- 192.168.0.*
|
||
|
|
- 127.0.0.1
|
||
|
|
#通用开发生产环境数据库地址(特殊情况可在对应的子工程里配置覆盖)
|
||
|
|
datasource:
|
||
|
|
dev:
|
||
|
|
url: jdbc:oracle:thin:@127.0.0.1:1521/orcl
|
||
|
|
username: jonhon_mes
|
||
|
|
password: jonhon_mes
|