| 1234567891011121314151617181920212223242526272829303132333435363738 |
- #数据源配置
- spring:
- redis:
- ##redis 单机环境配置
- host: 127.0.0.1
- port: 6379
- password:
- database: 0
- ssl: false
- ##redis 集群环境配置
- #cluster:
- # nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003
- # commandTimeout: 5000
- datasource:
- # MySql
- url: jdbc:mysql://localhost:3306/bladex_boot?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
- username: root
- password: root
- # PostgreSQL
- #url: jdbc:postgresql://127.0.0.1:5432/bladex_boot
- #username: postgres
- #password: 123456
- # Oracle
- #url: jdbc:oracle:thin:@127.0.0.1:49161:orcl
- #username: BLADEX_BOOT
- #password: oracle
- #blade配置
- blade:
- #分布式锁
- lock:
- enabled: false
- address: redis://127.0.0.1:6379
- #本地文件上传
- file:
- remote-mode: true
- upload-domain: http://localhost:8999
- remote-path: /usr/share/nginx/html
|