Last active
February 1, 2022 13:41
-
-
Save Shmarkus/c9291c7a0343c1244380268f3bb22fe2 to your computer and use it in GitHub Desktop.
ELK stack (version 7.16.3) Docker compose bundle
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.3 | |
container_name: elasticsearch | |
restart: unless-stopped | |
environment: | |
- node.name=elasticsearch | |
- discovery.seed_hosts=elasticsearch | |
- cluster.initial_master_nodes=elasticsearch | |
- cluster.name=docker-cluster | |
- xpack.security.enabled=false | |
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
volumes: | |
- ./esdata/:/usr/share/elasticsearch/data | |
networks: | |
- elk_net | |
logstash: | |
image: logstash:7.16.3 | |
container_name: logstash | |
restart: unless-stopped | |
volumes: | |
- ./logstash.conf:/config-dir/logstash.conf:ro | |
links: | |
- elasticsearch | |
entrypoint: logstash -f /config-dir/logstash.conf | |
networks: | |
- elk_net | |
kibana: | |
image: kibana:7.16.3 | |
container_name: kibana | |
restart: unless-stopped | |
ports: | |
- 5601:5601 | |
networks: | |
- elk_net | |
networks: | |
elk_net: | |
external: | |
name: elk_net |
Bump to 7.10.1. Can do an in-place upgrade. No data loss, everyhting works as expected.
Bump to 7.16.3 required additional environment variable in elasticsearch:
- xpack.security.enabled=false
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bump to 7.9.1. Can do an in-place upgrade. No data loss, everyhting works as expected.