首页 > 其他 > 详细

es kibana 搭建

时间:2022-05-27 22:52:55      阅读:7      评论:0      收藏:0      [点我收藏+]
version: ‘3‘
services:
  es01:
    image: docker.elastic.co/elasticsearch/elasticsearch:7.15.0
    container_name: es01
    restart: always
    environment:
      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
      - "discovery.type=single-node"
    ulimits:
      memlock:
        soft: -1
        hard: -1
    volumes:
      - data01:/usr/share/elasticsearch/data
    ports:
      - 9600:9200
    networks:
      - elastic
  kibana01:
    image: docker.elastic.co/kibana/kibana:7.15.0
    container_name: kibana01
    restart: always
    links:
      - es01
    volumes:
     - ./kibana/kibana.yml:/usr/share/kibana/config/kibana.yml:rw
    ports:
      - 5602:5601
    networks:
      - elastic
volumes:
  data01:
    driver: local
networks:
  elastic:
    driver: bridge

docker-compose.yml文件

 

server.host: "0"
server.shutdownTimeout: "5s"
elasticsearch.hosts: [ "http://es01:9200" ]
monitoring.ui.container.elasticsearch.enabled: true
enterpriseSearch.host: ‘http://localhost:3002‘

kibana/kibana.yml

 

es kibana 搭建

原文:https://www.cnblogs.com/chengfengchi/p/15357747.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!