diff --git a/pig-auth/src/main/resources/bootstrap.yml b/pig-auth/src/main/resources/bootstrap.yml index 0f7a7cd9..368ed6d8 100755 --- a/pig-auth/src/main/resources/bootstrap.yml +++ b/pig-auth/src/main/resources/bootstrap.yml @@ -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 diff --git a/pig-visual/pig-codegen/src/main/resources/bootstrap.yml b/pig-visual/pig-codegen/src/main/resources/bootstrap.yml index 717cb824..700291d8 100755 --- a/pig-visual/pig-codegen/src/main/resources/bootstrap.yml +++ b/pig-visual/pig-codegen/src/main/resources/bootstrap.yml @@ -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 diff --git a/pig-visual/pig-monitor/src/main/resources/bootstrap.yml b/pig-visual/pig-monitor/src/main/resources/bootstrap.yml index d6602f43..f33bdc51 100755 --- a/pig-visual/pig-monitor/src/main/resources/bootstrap.yml +++ b/pig-visual/pig-monitor/src/main/resources/bootstrap.yml @@ -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