kibana docker
docker pull docker.elastic.co/kibana/kibana:7.12.0
kibana docker
docker pull docker.elastic.co/kibana/kibana:7.12.0
docker elastic kibana
version: '2.2'
services:
node01:
image: docker.elastic.co/elasticsearch/elasticsearch:7.14.1
container_name: node01
environment:
- node.name=node01
- cluster.name=es-my-cluster
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- data01:/usr/share/elasticsearch/data
ports:
- 9200:9200
networks:
- elastic
kib01test:
image: docker.elastic.co/kibana/kibana:7.14.1
container_name : kib01test
environment:
- ELASTICSEARCH_HOSTS=http://node01:9200
ports:
- 5601:5601
networks:
- elastic
volumes:
data01:
driver: local
networks:
elastic:
driver: bridge
docker elastic kibana
version: '2.2'
services:
node01:
image: docker.elastic.co/elasticsearch/elasticsearch:7.14.1
container_name: node01
environment:
- node.name=node01
- cluster.name=es-my-cluster
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- data01:/usr/share/elasticsearch/data
ports:
- 9200:9200
networks:
- elastic
kib01test:
image: docker.elastic.co/kibana/kibana:7.14.1
container_name : kib01test
environment:
- ELASTICSEARCH_HOSTS=http://node01:9200
ports:
- 5601:5601
networks:
- elastic
volumes:
data01:
driver: local
networks:
elastic:
driver: bridge
elasticsearch docker instance
if already have the elasticsearch docker image locally
sudo docker run --rm -d -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" --name elasticsearch --net searchnetwork elasticsearch:7.13.4
check network by following command
sudo network ls
kibna and elasticsearch must be in same network
create network by
sudo create network my_net
docker elastic kibana
version: '2.2'
services:
node01:
image: docker.elastic.co/elasticsearch/elasticsearch:7.14.1
container_name: node01
environment:
- node.name=node01
- cluster.name=es-my-cluster
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- data01:/usr/share/elasticsearch/data
ports:
- 9200:9200
networks:
- elastic
kib01test:
image: docker.elastic.co/kibana/kibana:7.14.1
container_name : kib01test
environment:
- ELASTICSEARCH_HOSTS=http://node01:9200
ports:
- 5601:5601
networks:
- elastic
volumes:
data01:
driver: local
networks:
elastic:
driver: bridge
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us