server: port: 8804 spring: main: allow-circular-references: true mvc: pathmatch: matching-strategy: ant_path_matcher cloud: nacos: # 注册中心 discovery: server-addr: nacos-headless.infrastructure:8848 # 使用k8s无头服务 namespace: youlai-namespace-id # 配置中心 config: server-addr: ${spring.cloud.nacos.discovery.server-addr} file-extension: yaml namespace: youlai-namespace-id shared-configs[0]: data-id: youlai-common.yaml refresh: true