Created
June 19, 2020 12:04
-
-
Save kolserdav/57f782a8445e82db573d08fe3cb10891 to your computer and use it in GitHub Desktop.
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
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.8.0 | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
networks: | |
- logging | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 | |
environment: | |
- cluster.name=docker-cluster | |
- transport.host=localhost | |
- transport.port=9300 | |
- http.port=9200 | |
- network.host=0.0.0.0 | |
- bootstrap.memory_lock=true | |
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
container_name: iot_elasticsearch_1 | |
kibana: | |
image: docker.elastic.co/kibana/kibana:7.8.0 | |
ports: | |
- "5601:5601" | |
links: | |
- elasticsearch | |
depends_on: | |
- elasticsearch | |
networks: | |
- logging | |
logstash: | |
image: docker.elastic.co/logstash/logstash:6.4.0 | |
links: | |
- elasticsearch | |
volumes: | |
- ./:/config-dir | |
networks: | |
- logging | |
command: logstash -f /config-dir/logstash.conf | |
depends_on: | |
- elasticsearch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment