Created
March 3, 2024 19:01
-
-
Save bvader/cc76d1def44b95a76757fb0f4ed7ec45 to your computer and use it in GitHub Desktop.
Elasticsearch Plus Kibana 8.x No Security Docker Compose
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: | |
container_name: es01 | |
image: docker.elastic.co/elasticsearch/elasticsearch:${TAG} | |
# 8.x | |
environment: ['CLI_JAVA_OPTS=-Xms2g -Xmx2g','bootstrap.memory_lock=true','discovery.type=single-node','xpack.security.enabled=false', 'xpack.security.enrollment.enabled=false'] | |
ports: | |
- 9200:9200 | |
networks: | |
- elastic | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 | |
nofile: | |
soft: 65536 | |
hard: 65536 | |
deploy: | |
resources: | |
limits: | |
cpus: '2.0' | |
reservations: | |
cpus: '1.0' | |
kibana: | |
image: docker.elastic.co/kibana/kibana:${TAG} | |
container_name: kib01 | |
environment: | |
XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY: d1a66dfd-c4d3-4a0a-8290-2abcb83ab3aa | |
ports: | |
- 5601:5601 | |
networks: | |
- elastic | |
deploy: | |
resources: | |
limits: | |
cpus: '2.0' | |
reservations: | |
cpus: '1.0' | |
networks: | |
elastic: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment