Created
August 12, 2022 10:46
-
-
Save MeladKamari/f73c6af1d3ccff2a2ccc72178d1eb418 to your computer and use it in GitHub Desktop.
Elasticsearch 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.3' | |
| services: | |
| elasticsearch: | |
| image: elasticsearch:7.14.2 | |
| container_name: elasticsearch | |
| environment: | |
| - discovery.type=single-node | |
| ulimits: | |
| memlock: | |
| soft: -1 | |
| hard: -1 | |
| volumes: | |
| - elastic:/usr/share/elasticsearch/data | |
| ports: | |
| - 9200:9200 | |
| - 9300:9300 | |
| networks: | |
| - elastickibana | |
| kibana: | |
| image: kibana:7.14.2 | |
| container_name: kibana | |
| ports: | |
| - 5601:5601 | |
| environment: | |
| ELASTICSEARCH_URL: http://elasticsearch:9200 | |
| networks: | |
| - elastickibana | |
| volumes: | |
| elastic: | |
| driver: local | |
| networks: | |
| elastickibana: | |
| driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment