Browse Source

修改config app name

master
yirenyishi 6 years ago
parent
commit
b5bd256371
  1. 4
      sc-config/src/main/resources/application.yml
  2. 2
      sc-consumer/src/main/resources/bootstrap.yml
  3. 2
      sc-provider/src/main/resources/bootstrap.yml
  4. 2
      sc-zuul/src/main/resources/bootstrap.yml

4
sc-config/src/main/resources/application.yml

@ -8,7 +8,7 @@ spring:
name: root
password: booszy
application:
name:
name: sc-config-server
cloud:
config:
server:
@ -23,5 +23,5 @@ eureka:
prefer-ip-address: true
# instance-id: ${spring.application.name}:${spring.cloud.client.ipAddress}:${spring.application.instance_id:${server.port}}
instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
appname: springcloud-config-server
appname: sc-config-server

2
sc-consumer/src/main/resources/bootstrap.yml

@ -14,7 +14,7 @@ spring:
config:
discovery:
enabled: true
service-id: springcloud-config-server
service-id: sc-config-server
fail-fast: true
username: root
password: booszy

2
sc-provider/src/main/resources/bootstrap.yml

@ -14,7 +14,7 @@ spring:
config:
discovery:
enabled: true
service-id: springcloud-config-server
service-id: sc-config-server
fail-fast: true
username: root
password: booszy

2
sc-zuul/src/main/resources/bootstrap.yml

@ -14,7 +14,7 @@ spring:
config:
discovery:
enabled: true
service-id: springcloud-config-server
service-id: sc-config-server
fail-fast: true
username: root
password: booszy

Loading…
Cancel
Save