Last active
January 11, 2022 13:49
-
-
Save santhosh-chinnasamy/299dde1c7c980e057e6b9ae737e73115 to your computer and use it in GitHub Desktop.
Elaastic and Kibana compose files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
elasticsearch: | |
image: elasticsearch:7.16.2 | |
container_name: elasticsearch | |
restart: unless-stopped | |
environment: | |
- cluster.name=docker-cluster | |
- bootstrap.memory_lock=true | |
- discovery.type=single-node | |
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 | |
volumes: | |
- esdata:/usr/share/elasticsearch/data | |
ports: | |
- "9200:9200" | |
networks: | |
- esnet | |
kibana: | |
image: kibana:7.16.2 | |
container_name: kibana | |
restart: unless-stopped | |
environment: | |
- ./kibana.yml:/usr/share/kibana/config/kibana.yml | |
expose: | |
- 5601 | |
ports: | |
- "5601:5601" | |
networks: | |
- esnet | |
volumes: | |
esdata: | |
driver: local | |
networks: | |
esnet: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Kibana is served by a back end server. This setting specifies the port to use. | |
server.port: 5601 | |
server.host: '0.0.0.0' | |
elasticsearch.url: 'http://elasticsearch:9200' | |
xpack.security.enabled: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment