Created
July 6, 2021 00:26
-
-
Save ajchambeaud/56dc3f2978930f7ab3f4b4ff3576f3ae to your computer and use it in GitHub Desktop.
ELK STACK
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.5' | |
services: | |
elasticsearch: | |
container_name: elasticsearch | |
image: elasticsearch:7.5.0 | |
environment: | |
- bootstrap.memory_lock=true | |
- discovery.type=single-node | |
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
ports: | |
- 9200:9200 # REST | |
- 9300:9300 # Node Communication | |
kibana: | |
container_name: kibana | |
image: kibana:7.5.0 | |
ports: | |
- 5601:5601 | |
depends_on: | |
- elasticsearch | |
logstash: | |
container_name: logstash | |
build: ./logstash | |
ports: | |
- 5044:5044 | |
depends_on: | |
- elasticsearch | |
filebeat: | |
user: root | |
container_name: filebeat | |
build: ./filebeat | |
depends_on: | |
- logstash | |
volumes: | |
- ./mylog:/usr/share/mylog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment