Commit fbac4e1c authored by fangxinjiang's avatar fangxinjiang

init

parent 115033cf
...@@ -4,6 +4,23 @@ server: ...@@ -4,6 +4,23 @@ server:
spring: spring:
application: application:
name: @artifactId@ name: @artifactId@
---
spring:
cloud:
nacos:
discovery:
server-addr: yifu-register.qas-mvp.svc:8848
config:
server-addr: ${spring.cloud.nacos.discovery.server-addr}
config:
import:
- nacos:application-@profiles.active@.yml
- nacos:${spring.application.name}-@profiles.active@.yml
activate:
on-profile: test
---
spring:
cloud: cloud:
nacos: nacos:
discovery: discovery:
...@@ -13,4 +30,6 @@ spring: ...@@ -13,4 +30,6 @@ spring:
config: config:
import: import:
- nacos:application-@profiles.active@.yml - nacos:application-@profiles.active@.yml
- nacos:${spring.application.name}-@profiles.active@.yml - nacos:${spring.application.name}-@profiles.active@.yml
\ No newline at end of file activate:
on-profile: dev
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment