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.
sdny-order/order-management-consumer/src/main/resources/bootstrap.yaml

50 lines
1.1 KiB

# 此文件不可少,Spring Cloud读取配置必须
#本机ip地址获取:${spring.cloud.client.ip-address}
spring:
application:
name: order-api
profiles:
# Spring 配置文件读取
# active: @deployType@
# active: own
# active: std
active: dev
#active: test
jackson:
# jackson 日期格式化
date-format: yyyy-MM-dd HH:mm:ss
# jackson 时区
time-zone: GMT+8
# Http请求拦截文件大小配置
servlet:
multipart:
enabled: true
resolve-lazily: true
max-file-size: 50MB
max-request-size: 50MB
freemarker:
check-template-location: false
server:
port: 8081
servlet:
context-path: /${spring.application.name}
max-http-header-size: 4048576
tomcat:
#http请求head大小限制为40M
max-http-form-post-size: 41943040
sims:
order:
#订单数据库类型区分,要么mysql,要么Oracle,要么weblogic
db: mysql
#订单redis数据库类型区分,要么redis,要么redis-sentinel
# redisDb: redis-sentinel
redisDb: redis
# 0 mysql 1 oracle
dataType: 0