I use Kibna inside Docker.
I start Kibana using docker-compose
Below is my docker-compose.yml
`version: '2' services: elasticsearch: image: elasticsearch expose: - 9200 ports: - "9200:9200" networks: - cloud fluentd: build: ./fluentd volumes: - ./fluentd/conf:/fluentd/etc links: - "elasticsearch" ports: - "24224:24224" - "24224:24224/udp" networks: - cloud kibana: image: kibana links: - "elasticsearch" ports: - "9201:5601" networks: - cloud networks: cloud: driver: bridge`
I want to register this Kibana application in the Eureka discovery registry.
so I can call it with api-ateway
Below is an example of how I register My api-gatway on eureka
eureka: client: serviceUrl: defaultZone: http://eureka-server:8761/eureka/ registry-fetch-interval-seconds: 60 instance: hostname: api-gateway prefer-ip-address: false lease-renewal-interval-in-seconds: 5000 lease-expiration-duration-in-seconds: 5000
api-gateway is a spring-boot application, so it is direct.
I launch a kibana using a docker (Image). How can I achieve the same for this
Any help would be noticeable.
thanks in advance
source share