kibana docker compose example

Example: docker-compose kibana

version: '2.2'services:  elasticsearch:    image: docker.elastic.co/elasticsearch/elasticsearch:6.6.1    container_name: elasticsearch    environment:      - cluster.name=docker-cluster      - bootstrap.memory_lock=true      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"    ulimits:      memlock:        soft: -1        hard: -1    volumes:      - esdata:/usr/share/elasticsearch/data    ports:      - "9200:9200"    networks:      - esnetkibana:    image: docker.elastic.co/kibana/kibana:6.6.1    container_name: kibana    environment:      - ./kibana.yml:/usr/share/kibana/config/kibana.yml    ports:      - "5601:5601"    networks:      - esnetvolumes:  esdata:    driver: localnetworks:  esnet:

Tags:

Misc Example