Sign inSign up

starrier/consul-dev

By starrier

Updated almost 7 years ago

Service discovery registry

Image
0

987

starrier/consul-dev repository overview

Service discovery registry

usage config

spring:
  cloud:
    consul:
      host: 127.0.0.1
      port: 8500
      discovery:
        service-name: gateway
        health-check-interval: 10s
        tags: gateway
        health-check-path: /actuator/health
        register-health-check: true
        prefer-ip-address: true
        instance-id: ${spring.application.name}:${spring.cloud.client.ip-address}
        health-check-url: http://${spring.cloud.client.ip-address}:${server.port}/actuator/health

Tag summary

Content type

Image

Digest

Size

42.4 MB

Last updated

almost 7 years ago

docker pull starrier/consul-dev:0.0.1