Files
mosty-dyga-cloud/mosty-bkzx/src/main/resources/bootstrap.yml
esacpe b80c560e87 1
2024-07-17 21:00:42 +08:00

40 lines
729 B
YAML

server:
port: 8013
servlet:
context-path: /mosty-bkzx/
spring:
application:
name: mosty-bkzx
cloud:
nacos:
discovery:
namespace: 657d1843-b590-41ac-b5e7-5d261bf00de9
server-addr: 192.168.200.131:8848
register-enabled: true # 是否将自己注册到配置中心,让其他服务发现调用(本地调试使用)
# 开启健康监控
management:
endpoints:
web:
exposure:
include: '*'
endpoint:
health:
show-details: always
auditevents:
enabled: true
#swagger:
# enable: true
# title: 基础微服务
# version: 1.0.0
# name: 基础微服务
# url: ''
# email: ''
# 日志
#logging:
# file: /application/applogs/admin.log