group/group-module/group-user/src/main/resources/bootstrap.yml

54 lines
1.2 KiB
YAML

# Tomcat
server:
port: 9004
# Spring
spring:
main:
allow-circular-references: true
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
application:
# 应用名称
name: song-user
profiles:
# 环境配置
active: dev
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: 124.221.178.252:8848
config:
# 配置中心地址
server-addr: 124.221.178.252:8848
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
servlet:
multipart:
max-file-size: 10MB
max-request-size: 10MB
song:
life:
url: https://life.shumaidata.com/checklife
appCode: 5becad81f5c64b36a883ad8c7b66fa66
oss:
endpoint: oss-cn-shanghai.aliyuncs.com
accessKeyId: LTAI5tEhxBCDjWFy6D2SEX3y
secretAccessKey: gw5SQHr5T0P2UkCLYiAfgOxBwOpTTN
bucketName: song-mp4
objectName: mp4/
card:
host: https://cardnumber.market.alicloudapi.com
path: /rest/160601/ocr/ocr_idcard.json
check:
url: https://zidv2.market.alicloudapi.com/idcheck/Post