eureka.dashboard.enabled
Eureka server. application.yml
server: port: 8761 eureka: dashboard: enabled: true #Whether the home page is enabled, if it is false, the home page will not be enabled path: /x #Address
The eureka server address is http://localhost:8761/x
eureka.instance.appname
Service Provider microservice-provider-user
eureka.instance.appname=USER-SERVICE-HAHA
意思: Get the name of the application to be registered with eureka
eureka.datacenter: cloud
Application.yml
eureka.datacenter: cloud
eureka.environment: product
eureka.server.enable-self-preservation
Whether eureka.server.enable-self-preservation closes the self-preservation mode, it can be closed in the test environment
eureka.instance.instance-id
Get the unique Id (within the scope of the appName) of this instance to be registered with eureka
eureka.instance.instance-id=haha