dashtainer icon indicating copy to clipboard operation
dashtainer copied to clipboard

[Request] Kibana

Open simshaun opened this issue 7 years ago • 1 comments

Would be cool if a Kibana service could be added to a project.

For reference, this is the configuration I'm using:

services:
    kibana:
        image: 'docker.elastic.co/kibana/kibana-oss:6.2.3'
        depends_on:
            - elasticsearch
        environment:
            SERVER_NAME: 'kibana'
            SERVER_HOST: '0.0.0.0'
            ELASTICSEARCH_URL: 'http://elasticsearch:9200'
        labels:
            - 'traefik.enable=true'
            - 'traefik.backend=kibana'
            - 'traefik.port=5601'
            - 'traefik.docker.network=traefik_webgateway'
            - 'traefik.frontend.rule=Host:kibana.loc,www.kibana.loc'
        networks:
            - shared
            - public
        ports:
            - '5601:5601'
        volumes:
            - './kibana/kibana.yml:/usr/share/kibana/config/kibana.yml:delegated'

Stuff to be aware of if using the reference above:

  • I use .loc instead of .localhost
  • I've customized Traefik to require traefik.enable. I don't think Dashtainer's default Traefik config needs that.
  • kibana.yml is empty. I just pre-emptively created it.
  • shared & public networks are my own custom networks.
  • I'm not really sure if the SERVER_HOST and ELASTICSEARCH_URL environment vars are really necessary.

simshaun avatar Apr 27 '18 00:04 simshaun

I've been thinking how this would be configured via the existing UI design ... just know it's on my mind to add.

jtreminio avatar Jul 08 '18 01:07 jtreminio