mirror of https://gitee.com/maxjhandsome/pig
🔧 Changing configuration files.synchronize spring profile in local environment and spring cloud config server environment
This commit is contained in:
parent
b65302ba98
commit
f341b65624
|
@ -4,12 +4,14 @@ server:
|
|||
spring:
|
||||
application:
|
||||
name: pig-auth
|
||||
profiles:
|
||||
active: dev
|
||||
# 配置中心
|
||||
cloud:
|
||||
config:
|
||||
fail-fast: true
|
||||
name: ${spring.application.name}
|
||||
profile: dev
|
||||
profile: ${spring.profiles.active}
|
||||
discovery:
|
||||
enabled: true
|
||||
service-id: pig-config
|
||||
|
|
|
@ -4,12 +4,14 @@ server:
|
|||
spring:
|
||||
application:
|
||||
name: pig-codegen
|
||||
profiles:
|
||||
active: dev
|
||||
#配置中心
|
||||
cloud:
|
||||
config:
|
||||
fail-fast: true
|
||||
name: ${spring.application.name}
|
||||
profile: dev
|
||||
profile: ${spring.profiles.active}
|
||||
discovery:
|
||||
enabled: true
|
||||
service-id: pig-config
|
||||
|
|
|
@ -4,12 +4,14 @@ server:
|
|||
spring:
|
||||
application:
|
||||
name: pig-monitor
|
||||
profiles:
|
||||
active: dev
|
||||
#配置中心
|
||||
cloud:
|
||||
config:
|
||||
fail-fast: true
|
||||
name: ${spring.application.name}
|
||||
profile: dev
|
||||
profile: ${spring.profiles.active}
|
||||
discovery:
|
||||
enabled: true
|
||||
service-id: pig-config
|
||||
|
|
Loading…
Reference in New Issue