Commit fbac4e1c authored by fangxinjiang's avatar fangxinjiang

init

parent 115033cf
......@@ -4,6 +4,23 @@ server:
spring:
application:
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:
nacos:
discovery:
......@@ -13,4 +30,6 @@ spring:
config:
import:
- nacos:application-@profiles.active@.yml
- nacos:${spring.application.name}-@profiles.active@.yml
\ No newline at end of file
- nacos:${spring.application.name}-@profiles.active@.yml
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