-
-
Save nagstaku/803d98c09a017b36860408f2f26d2859 to your computer and use it in GitHub Desktop.
generic elasticsearch + kibana docker compose file
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
ELK_VERSION=7.3.0 |
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' | |
build: | |
context: elasticsearch/ | |
args: | |
ELK_VERSION: $ELK_VERSION | |
volumes: | |
- ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
environment: | |
ES_JAVA_OPTS: "-Xmx256m -Xms256m" | |
kibana: | |
container_name: 'kibana' | |
build: | |
context: kibana/ | |
args: | |
ELK_VERSION: $ELK_VERSION | |
volumes: | |
- ./kibana/config/:/usr/share/kibana/config:ro | |
ports: | |
- "5601:5601" | |
depends_on: | |
- elasticsearch |
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
# https://github.com/elastic/elasticsearch-docker | |
ARG ELK_VERSION | |
FROM elasticsearch:${ELK_VERSION} | |
# Add your elasticsearch plugins setup here | |
# Example: RUN elasticsearch-plugin install analysis-icu |
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
ARG ELK_VERSION | |
# https://github.com/elastic/kibana-docker | |
FROM kibana:${ELK_VERSION} | |
# Add your kibana plugins setup here | |
# Example: RUN kibana-plugin install <name|url> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment