Created
July 13, 2019 16:45
-
-
Save jhodges10/896b4e8e421a591978c8d333b6c38e71 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
version: '3.3' | |
services: | |
elasticsearch: | |
container_name: smartscrape-elastisearch | |
build: | |
context: docker-elk/elasticsearch/ | |
args: | |
ELK_VERSION: $ELK_VERSION | |
volumes: | |
- ./docker-elk/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro | |
- esdata1:/usr/share/elasticsearch/data:rw | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
environment: | |
ES_JAVA_OPTS: "-Xmx256m -Xms256m" | |
ELASTIC_PASSWORD: changeme | |
logstash: | |
container_name: smartscrape-logstash | |
build: | |
context: docker-elk/logstash/ | |
args: | |
ELK_VERSION: $ELK_VERSION | |
volumes: | |
- ./docker-elk/logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:ro | |
- ./docker-elk/logstash/pipeline:/usr/share/logstash/pipeline:ro | |
ports: | |
- "5959:5959" | |
- "9600:9600" | |
environment: | |
LS_JAVA_OPTS: "-Xmx256m -Xms256m" | |
depends_on: | |
- elasticsearch | |
kibana: | |
container_name: smartscrape-kibana | |
build: | |
context: docker-elk/kibana/ | |
args: | |
ELK_VERSION: $ELK_VERSION | |
volumes: | |
- ./docker-elk/kibana/config/kibana.yml:/usr/share/kibana/config/kibana.yml:ro | |
ports: | |
- "5601:5601" | |
depends_on: | |
- elasticsearch | |
volumes: | |
esdata1: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment