Created
January 30, 2024 13:48
-
-
Save arsalanses/0ebf344591d618fde2cee8a90e8b1d38 to your computer and use it in GitHub Desktop.
elasticsearch
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
| services: | |
| es: | |
| image: docker.elastic.co/elasticsearch/elasticsearch:7.17.4 | |
| environment: | |
| - "ES_JAVA_OPTS=-Xms512m -Xmx512m -Des.enforce.bootstrap.checks=true" | |
| - "xpack.license.self_generated.type=basic" | |
| - "xpack.security.enabled=false" | |
| - "xpack.watcher.enabled=false" | |
| - "xpack.graph.enabled=false" | |
| - "xpack.ml.enabled=false" | |
| - "bootstrap.memory_lock=true" | |
| - "cluster.name=es-efk" | |
| - "discovery.type=single-node" | |
| - "thread_pool.write.queue_size=1000" | |
| networks: | |
| - internal | |
| healthcheck: | |
| test: ["CMD-SHELL", "curl --silent --fail localhost:9200/_cluster/health || exit 1"] | |
| volumes: | |
| - elasticsearch:/usr/share/elasticsearch/data | |
| ulimits: | |
| memlock: | |
| soft: -1 | |
| hard: -1 | |
| nofile: | |
| soft: 65536 | |
| hard: 65536 | |
| ports: | |
| - '9200:9200' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment