spring: application: name: jnpf-tms mvc: servlet: load-on-startup: 0 main: allow-bean-definition-overriding: true allow-circular-references: true config: # 配置来源 = 仓库 config/(镜像内 /config,经 JNPF_CONFIG_DIR 指向)。 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/discovery.yaml - optional:file:${JNPF_CONFIG_DIR:config}/host-override/discovery.yaml # 应用服务器 server: tomcat: uri-encoding: UTF-8 port: 30017 management: endpoints: web: exposure: include: '*' endpoint: health: show-details: always logfile: access: unrestricted # ping 探针放行 jnpf: security: ignore: urls: - /ping - /api/tms/ping - /dev-api/tms/ping tenant: ignore-urls: - /ping - /api/tms/ping - /dev-api/tms/ping sa-token: filter: exclude-paths: - /ping - /api/tms/ping - /dev-api/tms/ping