Files
intc-cloud/intc-modules/intc-iot/src/main/resources/bootstrap.yml

55 lines
1.2 KiB
YAML

# Tomcat
server:
max-http-header-size: 4048576
tomcat:
max-http-form-post-size: -1
port: 9610
# Spring
spring:
application:
# 应用名称
name: intc-iot
profiles:
# 环境配置
active: dev
servlet:
multipart:
enabled: true
max-file-size: -1
max-request-size: -1
cloud:
nacos:
discovery:
namespace: intc
username: nacos
password: ZmNDMacAng
# 配置中心地址
server-addr: 172.16.0.4:8858
group: intc
# ip: 117.72.197.29
config:
namespace: intc
username: nacos
password: ZmNDMacAng
# 配置中心地址
server-addr: 172.16.0.4:8858
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
# 管理端点配置
management:
health:
db:
enabled: false # 临时禁用数据库健康检查
endpoint:
health:
show-details: always
# 用于服务监控可在线查看日志,该配置用于生产环境
logging:
file:
name: logs/${spring.application.name}/info.log