youtubebeat/vendor/github.com/elastic/beats/testing/environments/5.x.yml

34 lines
940 B
YAML
Raw Normal View History

2018-11-18 11:08:38 +01:00
# This is the latest stable 5x release environment.
version: '2.1'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.6.9
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9200"]
retries: 300
interval: 1s
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "network.host="
- "transport.host=127.0.0.1"
- "http.host=0.0.0.0"
- "xpack.security.enabled=false"
logstash:
image: docker.elastic.co/logstash/logstash:5.6.9
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9600/_node/stats"]
retries: 300
interval: 1s
volumes:
- ./docker/logstash/pipeline:/usr/share/logstash/pipeline:ro
- ./docker/logstash/pki:/etc/pki:ro
kibana:
image: docker.elastic.co/kibana/kibana:5.6.9
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5601"]
retries: 300
interval: 1s