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.
61 lines
1.6 KiB
61 lines
1.6 KiB
#数据源配置
|
|
spring:
|
|
data:
|
|
redis:
|
|
##redis 单机环境配置
|
|
host: 127.0.0.1
|
|
port: 6379
|
|
password:
|
|
database: 0
|
|
ssl:
|
|
enabled: 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:1521:orcl
|
|
#username: BLADEX_BOOT
|
|
#password: BLADEX_BOOT
|
|
# SqlServer
|
|
#url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=bladex_boot
|
|
#username: bladex_boot
|
|
#password: bladex_boot
|
|
# DaMeng
|
|
#url: jdbc:dm://127.0.0.1:5236/BLADEX_BOOT?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
|
|
#username: BLADEX_BOOT
|
|
#password: BLADEX_BOOT
|
|
# YashanDB
|
|
#url: jdbc:yasdb://127.0.0.1:1688/BLADEX_BOOT
|
|
#username: BLADEX_BOOT
|
|
#password: BLADEX_BOOT
|
|
|
|
#第三方登陆
|
|
social:
|
|
enabled: true
|
|
domain: http://127.0.0.1:1888
|
|
|
|
#blade配置
|
|
blade:
|
|
#分布式锁配置
|
|
lock:
|
|
##是否启用分布式锁
|
|
enabled: false
|
|
##redis服务地址
|
|
address: redis://127.0.0.1:6379
|
|
#本地文件上传
|
|
file:
|
|
remote-mode: true
|
|
upload-domain: http://localhost:8999
|
|
remote-path: /usr/share/nginx/html
|
|
|