Files
intc-cloud/intc-modules/intc-gen/src/main/resources/bootstrap.yml
2025-10-27 14:04:31 +08:00

40 lines
936 B
YAML

# Tomcat
server:
port: 9202
# Spring
spring:
application:
# 应用名称
name: intc-gen
profiles:
# 环境配置
active: dev
banner:
charset: UTF-8
location: classpath:banner.txt
cloud:
nacos:
discovery:
namespace: intc
username: nacos
password: ZmNDMacAng
# 配置中心地址
server-addr: 154.8.147.51:8848
group: intc
ip: 117.72.197.29
config:
namespace: intc
username: nacos
password: ZmNDMacAng
# 配置中心地址
server-addr: 154.8.147.51:8848
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
# 用于服务监控可在线查看日志,该配置用于生产环境
logging:
file:
name: logs/${spring.application.name}/info.log