mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-22 12:48:58 +08:00
🔧 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
Block a user