# 应用服务器 server: tomcat: uri-encoding: UTF-8 port: 30010 # Spring spring: application: name: jnpf-permission mvc: servlet: load-on-startup: 0 profiles: active: dev main: allow-bean-definition-overriding: true allow-circular-references: true config: # 补丁 #8:配置来源 = 仓库 config/(镜像内 /config,经 JNPF_CONFIG_DIR 指向)。 # file:(非 optional)= 缺文件启动即失败,防静默半配置;host-override 是宿主栈 # 专用覆盖(容器内不存在,optional 落空跳过)。 import: - file:${JNPF_CONFIG_DIR:config}/shared/datasource.yaml - file:${JNPF_CONFIG_DIR:config}/shared/resources.yaml - file:${JNPF_CONFIG_DIR:config}/shared/system-config.yaml - file:${JNPF_CONFIG_DIR:config}/shared/frame-config.yaml - file:${JNPF_CONFIG_DIR:config}/shared/logger.yaml - file:${JNPF_CONFIG_DIR:config}/shared/mq.yaml - file:${JNPF_CONFIG_DIR:config}/shared/socials.yaml - file:${JNPF_CONFIG_DIR:config}/shared/sso.yaml - file:${JNPF_CONFIG_DIR:config}/shared/discovery.yaml - optional:file:${JNPF_CONFIG_DIR:config}/host-override/discovery.yaml management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always # 开启在线日志查看功能 logfile: enabled: true