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.
36 lines
1.4 KiB
36 lines
1.4 KiB
security: |
|
# 目前资源服务器远程校验令牌RemoteTokenServices类未实现,目前支持本地校验,正在考虑换授权框架sa-token |
|
oauth2: |
|
client: |
|
# 配置资源服务器去认证服务器token-info-uri认证所需的客户端ID跟客户端密钥 |
|
client-id: ENC(dtjFNJ20ocy3dpBwUqSbfA==) |
|
client-secret: ENC(dtjFNJ20ocy3dpBwUqSbfA==) |
|
scope: server |
|
|
|
# 阿里云短信 |
|
aliyun: |
|
sms: |
|
access-key-id: '******' |
|
access-key-secret: '******' |
|
sign-name: 海豚开发平台 |
|
templates: |
|
ali-code: |
|
templateCode: SMS_212690021 |
|
|
|
# 文件上传相关 支持阿里云、华为云、腾讯、minio |
|
oss: |
|
endpoint: https://oss-cn-hangzhou.aliyuncs.com |
|
access-Key: '******' |
|
secret-Key: '******' |
|
region: cn-hangzhou |
|
path-style-access: false |
|
bucket-name: '******' |
|
|
|
spring: |
|
datasource: |
|
# 数据源采用spring-boot自带kari,轻量化 |
|
type: com.zaxxer.hikari.HikariDataSource |
|
driver-class-name: com.mysql.cj.jdbc.Driver |
|
username: ${MYSQL_USER:root} |
|
password: ${MYSQL_PWD:******} |
|
url: jdbc:mysql://${MYSQL_HOST:xxx.xxx.xxx.xxx}:${MYSQL_PORT:8052}/${MYSQL_DB:dolphin}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true |