Created
October 29, 2022 13:50
-
-
Save ace-racer/db00a81894fcd5215512aec613d41aa6 to your computer and use it in GitHub Desktop.
Elasticsearch with Kibana docker compose
This file contains hidden or 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.7' | |
| services: | |
| # Elasticsearch Docker Images: https://www.docker.elastic.co/ | |
| elasticsearch: | |
| image: docker.elastic.co/elasticsearch/elasticsearch:8.4.3 | |
| container_name: elasticsearch | |
| environment: | |
| - discovery.type=single-node | |
| - xpack.security.enabled=false | |
| ulimits: | |
| memlock: | |
| soft: -1 | |
| hard: -1 | |
| volumes: | |
| - elasticsearch-data:/usr/share/elasticsearch/data | |
| ports: | |
| - 9200:9200 | |
| - 9300:9300 | |
| networks: | |
| - elastic | |
| kibana: | |
| container_name: kibana | |
| image: docker.elastic.co/kibana/kibana:8.4.3 | |
| environment: | |
| - ELASTICSEARCH_HOSTS=http://elasticsearch:9200 | |
| ports: | |
| - 5601:5601 | |
| depends_on: | |
| - elasticsearch | |
| networks: | |
| - elastic | |
| networks: | |
| elastic: | |
| volumes: | |
| elasticsearch-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment