BAEL-1174: A Quick Guide to Spring Cloud Consul
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
spring:
|
||||
application:
|
||||
name: myApp
|
||||
cloud:
|
||||
consul:
|
||||
host: localhost
|
||||
port: 8500
|
||||
discovery:
|
||||
healthCheckPath: /my-health-check
|
||||
healthCheckInterval: 20s
|
||||
enabled: true
|
||||
instanceId: ${spring.application.name}:${random.value}
|
||||
server:
|
||||
port: 0
|
||||
Reference in New Issue
Block a user