management: endpoints: web: exposure: include: '*' metrics: export: prometheus: enabled: true spring: application: name: gateway-service cloud: nacos: discovery: server-addr: ${NACOS_SERVER:localhost}:${NACOS_PORT:8848} username: ${NACOS_USERNAME:config} password: ${NACOS_PASSWORD:cfg123456} config: server-addr: ${NACOS_SERVER:localhost}:${NACOS_PORT:8848} file-extension: yaml username: ${NACOS_USERNAME:config} password: ${NACOS_PASSWORD:cfg123456} config: import: "nacos:gateway-service-${spring.profiles.active}.yaml?group=DEFAULT_GROUP&data-type=yaml" profiles: active: ${SPRING_PROFILES_ACTIVE:dev} server: port: ${PORT:9001}