one_mall/mall_auth/target/classes/bootstrap.yml

50 lines
1.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Tomcat
server:
port: 9000
# Spring
spring:
servlet:
multipart:
#这将限制单个文件的最大大小为10MB
max-file-size: 10MB
#并限制整个请求的最大大小为10MB。
max-request-size: 10MB
main:
allow-circular-references: true
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
application:
# 应用名称
name: czk-auth
profiles:
# 环境配置
active: dev
cloud:
#代理和sentinel交互端口
# sentinel:
# transport:
# port: 8719
# dashboard: localhost:8081
nacos:
discovery:
# 服务注册地址
server-addr: 42.192.106.69:8848
config:
# 配置中心地址
server-addr: 42.192.106.69:8848
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
#开启监听feign调用不开监听不了
feign.sentinel.enabled: true
aliyun:
oss:
endpoint: https://oss-cn-beijing.aliyuncs.com
accessKeyId: LTAI5tCBE54x4gX5pHfQNPCc
accessKeySecret: x6k0BYKmy842vWMu8K7ItMdFx2RQeR
bucketName: zixuan-com