Created
April 16, 2021 13:09
-
-
Save nitneuk/3e1fceb8585412d589b733d7dca133ff to your computer and use it in GitHub Desktop.
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
es-monitoring: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.12.0 | |
container_name: es-monitoring | |
environment: | |
- node.name=es-monitoring | |
- cluster.name=es-monitoring-cluster | |
- discovery.type=single-node | |
- bootstrap.memory_lock=true | |
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | |
ulimits: | |
memlock: | |
soft: -1 | |
hard: -1 | |
volumes: | |
- dataMonitoring:/usr/share/elasticsearch/data | |
ports: | |
- 9201:9200 | |
networks: | |
- elastic | |
kib-monitoring: | |
image: docker.elastic.co/kibana/kibana:7.12.0 | |
container_name: kib-monitoring | |
ports: | |
- 5602:5601 | |
environment: | |
ELASTICSEARCH_URL: http://es-monitoring:9200 | |
ELASTICSEARCH_HOSTS: '["http://es-monitoring:9200"]' | |
networks: | |
- elastic | |
volumes: | |
... | |
dataMonitoring: | |
driver: local |
Author
nitneuk
commented
Apr 16, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment