spring: profiles: active: dev cloud: nacos: config: server-addr: 172.168.1.xx:8848 enabled: true file-extension: yaml namespace: public #按需引入nacos中的配置 #shared-configs: database.yaml extension-configs: # 数据源配置 - data-id: database.yaml group: DEFAULT_GROUP # redis配置 - data-id: redis.yaml group: DEFAULT_GROUP # elasticsearch配置 - data-id: elasticsearch.yaml group: DEFAULT_GROUP discovery: server-addr: 172.16.1.xx:8848 enabled: true namespace: public
还没有评论,来说两句吧...